Home » Community » Newbie corner » Upp GUI size in Win and Ubuntu
Re: Upp GUI size in Win and Ubuntu [message #40150 is a reply to message #40052] |
Sat, 22 June 2013 22:24   |
nlneilson
Messages: 644 Registered: January 2010 Location: U.S. California. Mojave &...
|
Contributor |
|
|
Thanks Sender Ghost for the code as the first time you mentioned this I was lost.
This question is not concerning size but whether the text in a label can be changed. Label 11 is originally " Point 1" with:
l1.SetLabel(t_(" Point 1")).SetFont(StdFont(11));
Could the text be changed to " Something" in an if block with:
l1.SetLabel(t_(" Something")).SetFont(StdFont(11));
without changing the Label to EditField?
Sender Ghost wrote on Wed, 29 May 2013 02:45 |
If you want to use placement methods without Z suffix, you could use them manually (as I already said):
Label units, l1, l2, l3, l4, l5;
Add(l1.LeftPos(0, 44).VSizePos(0, 67));
l1.SetLabel(t_(" Point 1")).SetFont(StdFont(11));
Add(l2.LeftPos(0, 44).TopPos(16, 16));
l2.SetLabel(t_(" Point 2")).SetFont(StdFont(11));
|
|
|
|
Goto Forum:
Current Time: Wed Apr 30 17:40:06 CEST 2025
Total time taken to generate the page: 0.01154 seconds
|