Listbox linespace

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

Slicky
Quite a regular
Quite a regular
Posts: 63
Joined: Wed Jan 12, 2005 12:06

Listbox linespace

Postby Slicky » Sun Jun 05, 2005 19:10

If I use say a 10 point font in a listbox that is defined in xml with say <Property Name="Font" Value="Tahoma-10" /> I notice that when I add items with a 10 point font I get what looks like say 5 pixels or so space between each line.

Is there another function call that I should be using to make the lines show up next to each other?

Image

Slicky
Quite a regular
Quite a regular
Posts: 63
Joined: Wed Jan 12, 2005 12:06

Re: Listbox linespace

Postby Slicky » Sun Jun 05, 2005 20:14

Hmm, just switching to another font other than Tahoma seems to fix it. It may be my problem I'm not sure yet.

User avatar
mouglue
Just popping in
Just popping in
Posts: 10
Joined: Mon Apr 04, 2005 22:36

Re: Listbox linespace

Postby mouglue » Sun Jun 05, 2005 23:32

you may want to look at CrazyEddie's responce to my post.

http://www.cegui.org.uk/modules/newbb/v ... 35&forum=2

I have a feeling it explains why the space is there.


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 7 guests