-
-
Notifications
You must be signed in to change notification settings - Fork 177
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…#553) * Try cargo r --example resizable and press space * Set dault size to (1, 1) * Remove all set_size_request * Add platform-specific note to set_resizable * Add change file * cargo fmt Co-authored-by: Wu Yu Wei <wusyong9104@gmail.com>
- Loading branch information
Showing
4 changed files
with
25 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
"tao": patch | ||
--- | ||
|
||
Fix resize doesn't work when calling with resizable. Also add platform specific note to `set_resizable`. | ||
On Linux, most size methods like maximized are async and do not work well with calling | ||
sequentailly. For setting inner or outer size, you don't need to set resizable to true before | ||
it. It can resize no matter what. But if you insist to do so, it has a `100, 100` minimum | ||
limitation somehow. For maximizing, it requires resizable is true. If you really want to set | ||
resizable to false after it. You might need a mechanism to check the window is really | ||
maximized. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters