Textentry size

Discuss GUI programming with the RapaGUI plugin here
Post Reply
ArtBlink
Posts: 484
Joined: Mon Nov 01, 2010 10:37 am
Location: Albert - France
Contact:

Textentry size

Post by ArtBlink »

Hello,

How to correlate the width of a "Textentry" with the number and size of fonts please ?

I can just define the width of "Textentry" in pixel.

Thanks
User avatar
airsoftsoftwair
Posts: 5425
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Textentry size

Post by airsoftsoftwair »

That's currently not supported.
ArtBlink
Posts: 484
Joined: Mon Nov 01, 2010 10:37 am
Location: Albert - France
Contact:

Re: Textentry size

Post by ArtBlink »

When is it supported? because i make software for industrie.

Thanks
User avatar
airsoftsoftwair
Posts: 5425
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Textentry size

Post by airsoftsoftwair »

This is not easily possible. Character widths of typical UI fonts used by the text entry widget aren't monospaced so setting a certain character size for them won't make sense anyway because character widths differ. It would only make sense for monospace fonts but then we'd also need an option to force the widget to use a monospace font. There are currently no font APIs in RapaGUI so it's not likely to come any time soon. Sorry.
ArtBlink
Posts: 484
Joined: Mon Nov 01, 2010 10:37 am
Location: Albert - France
Contact:

Re: Textentry size

Post by ArtBlink »

Ok, no problem, i search
Post Reply