slimmer topbar buttons fixes #1006

This commit is contained in:
alfrix
2023-06-09 18:23:10 -03:00
parent f0a33bd360
commit f7c12867d5
4 changed files with 43 additions and 29 deletions

View File

@@ -19,11 +19,13 @@ class MacroPanel(ScreenPanel):
self.sort_btn = self._gtk.Button("arrow-up", _("Name"), "color1", self.bts, Gtk.PositionType.RIGHT, 1)
self.sort_btn.connect("clicked", self.change_sort)
self.sort_btn.set_hexpand(True)
self.sort_btn.get_style_context().add_class("buttons_slim")
self.options = {}
self.macros = {}
self.menu = ['macros_menu']
adjust = self._gtk.Button("settings", " " + _("Settings"), "color2", self.bts, Gtk.PositionType.LEFT, 1)
adjust.get_style_context().add_class("buttons_slim")
adjust.connect("clicked", self.load_menu, 'options', _("Settings"))
adjust.set_hexpand(False)