ultimatepp/uppdev/LabelBox/main.cpp
cxl 3cd394812c Merge continued
git-svn-id: svn://ultimatepp.org/upp/trunk@10263 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-10-04 08:34:39 +00:00

20 lines
384 B
C++

#include <CtrlLib/CtrlLib.h>
using namespace Upp;
GUI_APP_MAIN
{
// LabelBoxDlg().TopMost().Run();
// Ctrl::SetXPStyle(false);
// LabelBoxDlg().Run();
TopWindow win;
win.Sizeable().Zoomable();
Label label;
label.SetAlign(ALIGN_CENTER);
win.Add(label);
win.Add(label.SizePos());
label.SetLabel("\1This is a very long line. hope it works");
win.Run();
}