Add support to hide Minimize / Maximize window buttons
See original GitHub issueCanResize has no effect on these buttons and won’t hide them either. Window can still be maximized or minimized and there are certain windows where this is not wanted at all, such as dialogs. I would suggest adding a boolean property for each of it but something like WPF’s windowstyle="Toolwindow" should do it as well.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:17
- Comments:7 (4 by maintainers)
Top Results From Across the Web
wpf - How to remove minimize and maximize buttons from ...
It hides the maximize and minimize buttons, but the window can still be resized by dragging the window borders and minimize using the...
Read more >How to hide the maximize button
You can't hide the maximize button while the minimize button is still visible. You can easily disable it by using certain GUI styles....
Read more >CSS Snippet for hiding the maximize, minimize and close ...
CSS Snippet for hiding the maximize, minimize and close window buttons. I personally use the keyboard for all of those actions, and I...
Read more >Remove the minimize, maximize, and close buttons
I'm running Ubuntu 20.10 with GNOME Shell extension Unite which can add the minimize, maximize and close buttons to the top bar and...
Read more >Hide the Maximize and Minimize buttons - Telerik UI for WPF
The easiest way to hide the minimize or maximize buttons is to set the HideMinimizeButton and HideMaximizeButton properties respectively.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hiding the window icon is related to #4474.
+1, disabling individual window title bar buttons (separately from tool window styling) would be wonderful.
This is easy to implement in Windows with just a couple of P/Invoke calls, but on Mac you have to write and compile new Objective-C++ code. No idea about X11.
Code for Windows: already exists in Avalonia, but in a private method.
Code for OSX: this is how Qt handles the job in Objective-C++