Window height failed to set or override the default height #58
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe the bug
To Reproduce
defaultSizeExpected behavior
Additional context
So I was playing around with searchEntry and questioned that is there a way possible to increase window size dynamically? Like if we set the window size as default my guess is that we cannot changes it?
Plus I found out that if we set height below 100 it will not work, not sure why? I was resize the window using the mouse, got to know that there's a limit on width and height size.

I believe all your observations are due to the same problem (right?):
I found out that the window's width request is set to 360 and the height request to 200, on any window. Not sure where this comes from, but I'll look into this.
No, we can change it. Is it maybe the limit that you described in your last post that is the problem here?
It seems that the 360x200px minimum size is set automatically by libadwaita or GTK, which is a reasonable size for most use cases and prevents empty windows from crashing the whole app. I added the
minSize(width:height:)modifier that you can use the customize the minimum height and set it to 20-30. Could you let me know whether this solves the previous problems?