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 #39905 is a reply to message #39901] Fri, 10 May 2013 10:38 Go to previous messageGo to previous message
Sender Ghost is currently offline  Sender Ghost
Messages: 301
Registered: November 2008
Senior Member
nlneilson wrote on Fri, 10 May 2013 04:48

Is there a way to lock in all the dlg.lay dimensions?

I didn't find this function for layouts (and there is no such option for Layout Designer), except static Ctrl::NoLayoutZoom(). But possible to use not zoomed version of placement manually, e.g.:
#include <CtrlLib/CtrlLib.h>

using namespace Upp;

GUI_APP_MAIN
{
	EditString text, zoomedText;
	text.NullText("Normal"); zoomedText.NullText("Zoomed");
	TopWindow window;
	window.SetRect(Size(320, 240));

	window.Add(text.LeftPos(4, 100).TopPos(4, 20)); // Without Z suffix
	window.Add(zoomedText.LeftPosZ(4, 100).TopPosZ(28, 20));

	window.Run();
}

[Updated on: Fri, 10 May 2013 11:31]

Report message to a moderator

 
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 18 14:42:49 GMT+2 2026

Total time taken to generate the page: 0.01010 seconds