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

Window size is too small #194

Open
DemiMarie opened this issue Dec 1, 2024 · 2 comments
Open

Window size is too small #194

DemiMarie opened this issue Dec 1, 2024 · 2 comments

Comments

@DemiMarie
Copy link

I’m working on porting the Qubes OS app menu to use layer shell on Wayland. It currently uses GTK3, and I’m not sure how hard it would be to port to GTK4.

It works great, except that the window height is too small, so not enough entries fit on the screen. Is therw a way to improve it? The same code produces a correctly-sized window under X11.

@wmww
Copy link
Owner

wmww commented Dec 11, 2024

You can play around with this to see if you can make it work better.

@DemiMarie
Copy link
Author

I actually got the code working without the .resize(), just the .set_size_request(). Is this a lurking bug, or is it okay to skip the .resize() call?

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

2 participants