Elements don't shrink back to size after being expanded #804
Answered
by
kotontrion
ValentineChuu
asked this question in
Q&A
|
Hi! I'm new to AGS and Linux as a whole so sorry for dumb questions. I made this simple bluetooth widget that turns the icon into battery percentage in text when I hover over it. But when it does it stretch out the box and won't shrink back down and leaves an ugly empty space, does anyone know how to fix this or have a better way to do this? |
Answered by
kotontrion
Mar 14, 2026
Replies: 1 comment
|
Yes, it is a known issue that gtk4-layer-shell windows won't shrink to a smaller size. |
0 replies
Answer selected by
ValentineChuu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, it is a known issue that gtk4-layer-shell windows won't shrink to a smaller size.
Setting the windows
default-widthproperty to-1should fix your issue.