Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Top margin in Firefox when Sweet window borders are selected #115

Closed
AndreiMiculita opened this issue Oct 12, 2020 · 2 comments
Closed

Top margin in Firefox when Sweet window borders are selected #115

AndreiMiculita opened this issue Oct 12, 2020 · 2 comments

Comments

@AndreiMiculita
Copy link

AndreiMiculita commented Oct 12, 2020

Hi, Firefox has a top margin when the Sweet window borders are selected. This bothers me because it makes it a lot more difficult to select tabs since they're not at the edge of the screen. It's a mistake I've seen other theme devs make as well. Could you please look into it? Thank you :)

I'm using the Cinnamon DE.

@AndreiMiculita
Copy link
Author

AndreiMiculita commented Dec 15, 2020

Found the fix.
Here, on line 108:

<!-- Borderless -->
<frame_geometry name="borderless" has_title="false" rounded_top_left="false" rounded_top_right="false" parent="normal">
<distance name="left_width" value="0" />
<distance name="right_width" value="0" />
<distance name="bottom_height" value="0" />
<distance name="title_vertical_pad" value="8" />
<border name="title_border" left="0" right="0" top="0" bottom="0" />
<border name="button_border" left="0" right="0" top="0" bottom="0" />
</frame_geometry>

The padding should be set to 0, like this:

<distance name="title_vertical_pad" value="0" />

@EliverLara
Copy link
Owner

@AndreiMiculita Thank you for providing the fix.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants