fixed size label



Hi!

I have a little question: I want to create a label with a fixed width.
The width should be large enough to contain n characters and it should
be dependant on the font the user has set up. So my question is: how can
I achieve this? I thaught about some like creating a label with the
string "XX..X" and then getting the size of the label, but I can't
figure out how to get the size of the label widget.

Thanks for your help,
Jörgen  





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]