mirror of
https://github.com/aclist/dztui.git
synced 2026-11-11 04:20:39 +01:00
This commit is contained in:
1 parent
fc28d419bf
commit
9d8d37e110
2 files changed
+8
-8
No files matched your search
@@ -23,3 +23,10 @@ class HBox(GenericBox):
|
||||
class VBox(GenericBox):
|
||||
def __init__(self, spacing: int = 0) -> None:
|
||||
super().__init__(orientation=Gtk.Orientation.VERTICAL, spacing=spacing)
|
||||
|
||||
class ShortHBox(HBox):
|
||||
def __init__(self, widget: Gtk.Widget) -> None:
|
||||
super().__init__(spacing=5)
|
||||
|
||||
self.set_halign(Gtk.Align.START)
|
||||
self.pack_start(widget, expand=False, fill=False, padding=0)
|
||||
Reference in new issue
Block a user