mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
portalHelper: Set a minimum window size
Even though the window is maximised when created, the window is still resizable. This avoids making the window smaller than usable. If the screen is smaller than the minimum window size, the maximise should make it fullscreen and non-resizable. https://bugzilla.gnome.org/show_bug.cgi?id=735233
This commit is contained in:
parent
2ff988ef37
commit
a81f18592a
1 changed files with 1 additions and 0 deletions
|
|
@ -81,6 +81,7 @@ const PortalWindow = new Lang.Class({
|
|||
|
||||
this.add(this._webView);
|
||||
this._webView.show();
|
||||
this.set_size_request(600, 450);
|
||||
this.maximize();
|
||||
this.present_with_time(timestamp);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue