Scrollbar Question

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

User avatar
spannerman
Home away from home
Home away from home
Posts: 330
Joined: Wed Jan 12, 2005 12:06

Re: Scrollbar Question

Postby spannerman » Sat Mar 05, 2005 02:27

CrazyEddie wrote:
Nah, that's just the files that will be the tooltips, I'm still deciding how I want to go about those (I might get them in over the weekend, though).


Aah, fair enough :)

Well, sorry for the delay in getting back to you. I've just completed both my integration of the new scrollablePane into the Particle Editor and my intensive testing session of said widget :p

And it works great! There are a couple of tiny issues I've noticed, but really nothing major and you probably know about them already. This thing has allowed me to throw out a fair chunk of messy code (where I previously tried duplicating this widgets behaviour), and its functionality is so much smoother. No more popping of widgets when I hide / show them because of the correct content clipping this widget does, and no more annoying overlapping of widgets where my code used to struggle to synch up newly scrolled positions. Plus it's incredibly simple to use – just put your stuff in it and it works.
So thanks very much, this thing kicks ass!

About the small things I noticed (I'm using the Taharez version with ContentPaneAutoSized set to true):

- When I mouse click on a scrollablePane, it (or just its contents, not sure) shift position ever so slightly down and to the right probably just a couple of pixels, but it is noticeable. When you click off it, it shifts back into position.

- It's probably related to the above, but a few pixels worth of the very bottom widget in the content pane gets clipped.

- When you first create a scrollablePane and your content is of a size such that both the horizontal and vertical sliders are showing, they overlap in the bottom right corner. When you click on one of them, they fix themselves and don't do it again.

Hope that helps :)

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: Scrollbar Question

Postby CrazyEddie » Sat Mar 05, 2005 08:30

Cool. Glad you like things so far :)

The shifting issue was the other problem I alluded to in another post; I just realised what the fix for this needs to be, so that will be fixed later today.

The small amount of clipping is likely related the above, basically they're caused by the fact that on-screen positions are adjusted to ensure perfect texel to pixel mapping.

The scrollbar thing is something else entirely. I actually think that most of the other scrollable widgets suffer this too (I know the multi-column list does). Now that somebody else has noticed this, I'll have to try and fix it, hehe ;)

CE.

User avatar
Mdobele
Just popping in
Just popping in
Posts: 10
Joined: Wed Jan 12, 2005 12:06
Location: Brisbane / Australia
Contact:

Re: Scrollbar Question

Postby Mdobele » Sun Mar 06, 2005 20:47

Thanks for doint it again CE

I'll get to use it when I get home from work today.
Visit the PrimdGames website
www.primedgames.com


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 14 guests