U++ framework
Do not panic. Ask here before giving up.

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 Go to previous messageGo to previous message
nlneilson is currently offline  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));



 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Pick Semantics: Passing a Vector to a method
Next Topic: [Solved] SysInfo_Demo_Gui is where to find?
Goto Forum:
  


Current Time: Fri Sep 04 01:42:58 GMT+2 2026

Total time taken to generate the page: 0.00925 seconds