Tutorial: Gui23 default window size is now bigger.

git-svn-id: svn://ultimatepp.org/upp/trunk@15380 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
klugier 2020-11-09 16:26:33 +00:00
parent 1ab7cb0952
commit 327d9719a4

View file

@ -8,11 +8,11 @@ using namespace Upp;
struct MyAppWindow : TopWindow {
MyAppWindow() {
Title(t_("My application"));
Zoomable().Sizeable().SetRect(0, 0, 400, 100);
Zoomable().Sizeable().SetRect(0, 0, 550, 100);
}
virtual void Paint(Draw& w) override {
w.DrawRect(GetSize(), SWhite);
w.DrawRect(GetSize(), SLtYellow);
w.DrawText(20, 20, t_("Hello translation engine!"), Arial(30), Blue);
}
};