mirror of
https://github.com/aclist/dztui.git
synced 2026-10-25 12:12:31 +01:00
fix: always show icon
This commit is contained in:
1 parent
3c52072eb5
commit
197c2eba06
1 file changed
+1
@@ -65,6 +65,7 @@ class IconButton(Gtk.Button):
|
|||||||
self.set_image(self.icon)
|
self.set_image(self.icon)
|
||||||
self.set_image_position(position)
|
self.set_image_position(position)
|
||||||
self.set_focus_on_click(False)
|
self.set_focus_on_click(False)
|
||||||
|
self.set_always_show_image(True)
|
||||||
|
|
||||||
def swap_icon(self, icon: str) -> None:
|
def swap_icon(self, icon: str) -> None:
|
||||||
start = self.icon.get_margin_start()
|
start = self.icon.get_margin_start()
|
||||||
|
|||||||
Reference in new issue
Block a user