mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
virt-manager: AUTOSIZE the VM name column in the manager window
Previously, if a very long "title" was shortened, the column was maintaining its original size, leaving the second column far away. To avoid it, enforce the first column to be automatically resized whenever the name of the VM is changed. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
committed by
Cole Robinson
parent
b96fa5706c
commit
3861069f99
@@ -408,6 +408,7 @@ class vmmManager(vmmGObjectUI):
|
||||
|
||||
nameCol = Gtk.TreeViewColumn(_("Name"))
|
||||
nameCol.set_expand(True)
|
||||
nameCol.set_sizing(Gtk.TreeViewColumnSizing.AUTOSIZE)
|
||||
nameCol.set_spacing(6)
|
||||
nameCol.set_sort_column_id(COL_NAME)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user