mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
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:
parent
1ab7cb0952
commit
327d9719a4
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue