Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable maximize button in avilonia #5147

Closed
rukhsar29 opened this issue Dec 7, 2020 · 7 comments
Closed

Disable maximize button in avilonia #5147

rukhsar29 opened this issue Dec 7, 2020 · 7 comments

Comments

@rukhsar29
Copy link

I want to disable maximize button or hide it.

@kekekeks
Copy link
Member

kekekeks commented Dec 7, 2020

You can set CanResize to false

@rukhsar29
Copy link
Author

Not working in windows.

@joneuhauser
Copy link

joneuhauser commented Dec 8, 2020

See #437 (comment). Duplicate? Also related: #5069

@Symbai
Copy link
Contributor

Symbai commented Sep 16, 2021

You can set CanResize to false

I can confirm this works fine in Windows 10, maximize button gets disabled. This issue can probably be closed

@Nickelony
Copy link

Well... on my side, the maximize button doesn't disappear with these settings, so this is still an issue.
Using Avalonia 0.10.10 and Windows 11 (22000.318)

@mysteryx93
Copy link

Minimize button is still enabled. WIth MessageBox.Avalonia, it's particularly an issue because the minimize/maximize buttons leave very little space for the MessageBox title! And you can minimize the MessageBox!?

@maxkatz6
Copy link
Member

Duplicate of #3422

@maxkatz6 maxkatz6 marked this as a duplicate of #3422 Jan 29, 2023
@maxkatz6 maxkatz6 closed this as not planned Won't fix, can't repro, duplicate, stale Jan 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants