Fix small window buttons not clickable in screen corners unless cursor is directly over them#76
Conversation
antroids
left a comment
There was a problem hiding this comment.
Thank you for the change!
I think we can make this change uniform for buttons heigth and width.
What do you think?
|
Hi! I saw the suggestion, but I think it might make the buttons feel way too spaced out especially on bigger panels where the gap gets pretty noticeable. Instead of uniform margins on all sides, we could add a config for side-specific button margins? called "Space between buttons" to match "Space between elements" configuration. that’d make it easier to match layouts with Aurorae themes. I have a commit ready for this approach if it's fine. |
antroids
left a comment
There was a problem hiding this comment.
Yes, you are rigth.
There is a space between elements option, should be fine for now. There are too many options in the widget already.
Could you please decouple the WindowControlButton from root by introducing property at line 96:
property int verticalPadding: 0
and use it to pass the gaps.
|
done |
|
Hi, thank you. However, it seems that the problem I reported has not been completely fixed. In my case, as I described, the issue occurs only when the panel is on the left and the close button is positioned at the top-left of the screen. I also detailed how I arrange the buttons for that setup in my post: |

Before
Changing the button margins was affecting the height of the buttons, which made them unclickable at screen edges unless the cursor was directly over them.
Now
This has been fixed by applying margins around the buttons instead of altering their height. Buttons are now fully clickable, even in screen corners.
@antroids
Resolves #74