Textentry size

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

Textentry size

Post by ArtBlink » Sun May 27, 2018 9:54 am

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: 2570
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany
Contact:

Re: Textentry size

Post by airsoftsoftwair » Tue May 29, 2018 10:18 am

That's currently not supported.

ArtBlink
Posts: 435
Joined: Mon Nov 01, 2010 11:37 am
Location: Albert - France
Contact:

Re: Textentry size

Post by ArtBlink » Tue May 29, 2018 6:24 pm

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

Thanks

User avatar
airsoftsoftwair
Posts: 2570
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany
Contact:

Re: Textentry size

Post by airsoftsoftwair » Tue May 29, 2018 9:35 pm

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: 435
Joined: Mon Nov 01, 2010 11:37 am
Location: Albert - France
Contact:

Re: Textentry size

Post by ArtBlink » Wed May 30, 2018 8:49 pm

Ok, no problem, i search

Post Reply