mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-19 16:59:58 +02:00
GTK3: Improved initial size of created windows by setting constraints.
This commit is contained in:
parent
c164ac032c
commit
fb3002163e
@ -7573,6 +7573,7 @@ begin
|
||||
// cannot gtk_widget_realize(Result), because that needs a valid widget parent
|
||||
FWidgetType := [wtWidget, wtLayout, wtScrollingWin, wtCustomControl]
|
||||
end;
|
||||
Result^.set_size_request(Params.Width, Params.Height);
|
||||
|
||||
FBox := TGtkVBox.new(GTK_ORIENTATION_VERTICAL, 0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user