CtrlCore: Fixed issue with gtk CenterRect

This commit is contained in:
Mirek Fidler 2024-10-13 23:41:15 +02:00
parent 9298d61657
commit 43dbe40be0
3 changed files with 18 additions and 18 deletions

View file

@ -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));