Initially set resizable property on Linux
This commit is contained in:
parent
73f6162f5c
commit
67edcc8f91
1 changed files with 1 additions and 1 deletions
|
@ -120,11 +120,11 @@ NativeWindowViews::NativeWindowViews(
|
|||
minimizable_(true) {
|
||||
options.Get(options::kTitle, &title_);
|
||||
options.Get(options::kAutoHideMenuBar, &menu_bar_autohide_);
|
||||
options.Get(options::kResizable, &resizable_);
|
||||
|
||||
#if defined(OS_WIN)
|
||||
// On Windows we rely on the CanResize() to indicate whether window can be
|
||||
// resized, and it should be set before window is created.
|
||||
options.Get(options::kResizable, &resizable_);
|
||||
options.Get(options::kMinimizable, &minimizable_);
|
||||
options.Get(options::kMaximizable, &maximizable_);
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue