[SOLVED] How to disable small rectangle between scrollbars ?

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

Just popping in
Just popping in
Posts: 4
Joined: Thu Aug 23, 2012 22:22

[SOLVED] How to disable small rectangle between scrollbars ?

Postby cziter15pl » Sat Sep 01, 2012 18:18


I have a small problem, because I want to disable a rectangle in Listbox.
I don't know how to remove space between scrollbars.

What I want to get rid of:

I want VSrollbar to be 100% of height.

Thanks for help,

@CrazyEddie: thank you very much, it works perfectly !
Last edited by cziter15pl on Sat Sep 29, 2012 12:55, edited 1 time in total.

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

Re: How to disable small rectangle between scrollbars ?

Postby CrazyEddie » Mon Sep 10, 2012 12:32

In the <WidgetLook> definition for the Listbox for the skin you are are using (looknfeel xml file), there will be <Child> elements that define the scroll bars - find the vertical one and look at the <Area> definition, you will likely find that it contains some kind of calculation that subtracts some value from the height, remove that part (while maintaining correct xml) and the gap should be removed.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 8 guests