Skip to content

Commit

Permalink
fix(Workspace): do no use html tag small in filters
Browse files Browse the repository at this point in the history
  • Loading branch information
t00m committed May 31, 2024
1 parent 3eb7097 commit bb519c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion MiAZ/frontend/desktop/services/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def create_actionrow(self, title:str = '', subtitle:str = '', prefix: Gtk.Widget
def create_box_filter(self, title, widget: Gtk.Widget) -> Gtk.Box:
box = Gtk.Box.new(orientation=Gtk.Orientation.VERTICAL, spacing=3)
box.set_margin_bottom(margin=12)
lblTitle = self.create_label('<small>%s</small>' % title)
lblTitle = self.create_label('<b>%s</b>' % title)
lblTitle.set_xalign(0.0)
box.append(lblTitle)
box.append(widget)
Expand Down
2 changes: 2 additions & 0 deletions MiAZ/frontend/desktop/widgets/workspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,8 @@ def _setup_toolbar_filters(self):
body = self.factory.create_box_horizontal(margin=3, spacing=6, hexpand=True, vexpand=True)
body.set_homogeneous(True)
body.set_margin_top(margin=6)
body.set_margin_start(margin=12)
body.set_margin_end(margin=12)
widget.append(body)
widget.append(Gtk.Separator.new(orientation=Gtk.Orientation.HORIZONTAL))

Expand Down

0 comments on commit bb519c8

Please sign in to comment.