mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
manager: Make connection rows a bit taller
Closer to what it was like with the gtk2 version
This commit is contained in:
@@ -433,12 +433,13 @@ class vmmManager(vmmGObjectUI):
|
||||
col = Gtk.TreeViewColumn(title)
|
||||
col.set_min_width(140)
|
||||
txt = Gtk.CellRendererText()
|
||||
txt.set_property("ypad", 4)
|
||||
img = CellRendererSparkline()
|
||||
img.set_property("xpad", 6)
|
||||
img.set_property("ypad", 12)
|
||||
img.set_property("reversed", True)
|
||||
col.pack_start(img, True)
|
||||
col.pack_start(txt, False)
|
||||
col.pack_start(txt, True)
|
||||
col.add_attribute(img, 'visible', ROW_IS_VM)
|
||||
col.add_attribute(txt, 'visible', ROW_IS_CONN)
|
||||
col.set_cell_data_func(img, datafunc, None)
|
||||
|
||||
Reference in New Issue
Block a user