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

Unable to set the minimum window size #334

Closed
Supernova3339 opened this issue Jul 11, 2024 · 3 comments
Closed

Unable to set the minimum window size #334

Supernova3339 opened this issue Jul 11, 2024 · 3 comments
Labels
bug Something isn't working windows

Comments

@Supernova3339
Copy link

What were you trying to do?

Set the minimum window size in a menubar app

What happened?

The minimum window size is set and I am unable to freely modify the size beyond the minimum set

How to reproduce the bug

Use the following in MenuBar::create

->width(389)
->height(400)
->minWidth(389)
->minHeight(400)

Package Versions

0.6.3 nativephp/electron, 0.5.2 nativephp/laravel, 0.4.0 nativephp/php-bin

PHP Version

8.2.20

Laravel Version

11.15.0

Node Version

21.7.3

Which operating systems have you seen this occur on?

Windows

OS version

win 11 (23H2) (OS Build 22631.3737)

Notes

No response

@Supernova3339 Supernova3339 added the bug Something isn't working label Jul 11, 2024
@Supernova3339
Copy link
Author

hey @omitobi, these flags you provided ( I saw via E-mail ), do not exist for MenuBar.

@simonhamp
Copy link
Member

If your window's minHeight and minWidth match its height and width, isn't it just that you don't want the window to be resizable?

Have you tried stopping it from being resizable?

@simonhamp
Copy link
Member

Closing due to no response

@simonhamp simonhamp closed this as not planned Won't fix, can't repro, duplicate, stale Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working windows
Projects
None yet
Development

No branches or pull requests

2 participants