mirror of
https://github.com/aclist/dztui.git
synced 2026-10-31 07:02:50 +01:00
fix: ease padding on mod table
This commit is contained in:
1 parent
479be05452
commit
6d428ebb0d
1 file changed
+4
@@ -2562,6 +2562,10 @@ class TreeView(Gtk.TreeView):
|
|||||||
column.set_cell_data_func(
|
column.set_cell_data_func(
|
||||||
renderer, self._format_float, func_data=None
|
renderer, self._format_float, func_data=None
|
||||||
)
|
)
|
||||||
|
if column_title == "Mod":
|
||||||
|
column.set_fixed_width(500)
|
||||||
|
else:
|
||||||
|
column.set_fixed_width(150)
|
||||||
else:
|
else:
|
||||||
# WindowContext.TABLE_LOG uses undecorated columns
|
# WindowContext.TABLE_LOG uses undecorated columns
|
||||||
column = Gtk.TreeViewColumn(column_title, renderer, text=i)
|
column = Gtk.TreeViewColumn(column_title, renderer, text=i)
|
||||||
|
|||||||
Reference in new issue
Block a user