On 07.09.2008, at 12:42, imacarthur wrote:

> On 7 Sep 2008, at 4:53, Robert Arkiletian wrote:
>> Another question that has come up is space on a button for translated
>> text (which is potentially longer than english).  Is there any
>> mechanism in FLTK to ensure the label of a button fits in the button?
>
> No, 'fraid not.

No automatic way, but can call "measure(w, h)" on a label to get the  
size required for the current settings and update the widget size  
accordingly.

----
http://robowerk.com/


_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to