-
-
Notifications
You must be signed in to change notification settings - Fork 707
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
Border/Padding/Margin added to module after switch to AButton #1731
Comments
@pinselimo any ideas on that? thx :) |
I tried both before and after that commit. Issue exists in both.
Thank you for looking into this. edit: setting the font size for the arrow from 17px to 27px and the padding is gone. |
I found that you can also set the margin-right to a negative value. It doesn't seem to affect all text. The clock module has no extra margins. I also tried to set all button margins to zero in |
Adding a space in front of the icon also fixes the issue. |
Ok, I found the definite solution to the problem. Setting min-width to zero resolves the problem for all arrows without having to change each and every one of them:
|
@pinselimo Can we force the min width on the code side, in that way we don't have a breaking change for the next version. |
Thank you @pinselimo. Adding min-width: 0 to my styles.css fixed the issue. |
Do you know how? Because for all I could google there is no setter for this property in GTK Buttons or Widgets. Edit: I also tried EEdit: I'll checkout if |
I was using min-width and min-height to set the aspect ratio of my buttons to 1:1. Now it doesn't work anymore and I don't know how to override this style. Lines 22 to 25 in 1374b0f
|
@Scrumplex I can look into it. Would you mind sharing the config snippet you used to achieve that aspect ratio? |
I basically just set
Edit: but |
@Scrumplex Can you try with latest commit (d48eebd) |
That works! |
Since commit (bisected) button: Add AButton class
I get a border (maybe padding, margin?) next to my custom arrow module - before/after:
Each arrow is a simple separate custom module using the background-/font-color of the next/previous module.
I tried setting border/margin/padding/box-shadow to 0 or none.
Is there a way to restore the previous behavior?
The text was updated successfully, but these errors were encountered: