mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-25 14:22:54 -06:00
CtrlCore: Fixed issue with gtk CenterRect
This commit is contained in:
parent
9298d61657
commit
43dbe40be0
3 changed files with 18 additions and 18 deletions
|
|
@ -52,7 +52,7 @@ void Ctrl::Create(Ctrl *owner, bool popup)
|
|||
tw->SyncSizeHints();
|
||||
|
||||
Rect r = GetRect();
|
||||
|
||||
|
||||
gtk_window_set_default_size (gtk(), LSC(r.GetWidth()), LSC(r.GetHeight()));
|
||||
|
||||
gtk_window_move(gtk(), LSC(r.left), LSC(r.top));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue