mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-08 23:23:23 -06:00
manager: Make connection rows a bit taller
Closer to what it was like with the gtk2 version
This commit is contained in:
parent
77441ea4d4
commit
f1a0b99a38
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user