gitview: Set the default width of graph cell
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:

committed by
Junio C Hamano

parent
0852694ba4
commit
d82343b938
@ -526,6 +526,9 @@ class GitView:
|
|||||||
self.treeview.show()
|
self.treeview.show()
|
||||||
|
|
||||||
cell = CellRendererGraph()
|
cell = CellRendererGraph()
|
||||||
|
# Set the default width to 265
|
||||||
|
# This make sure that we have nice display with large tag names
|
||||||
|
cell.set_property("width", 265)
|
||||||
column = gtk.TreeViewColumn()
|
column = gtk.TreeViewColumn()
|
||||||
column.set_resizable(True)
|
column.set_resizable(True)
|
||||||
column.pack_start(cell, expand=True)
|
column.pack_start(cell, expand=True)
|
||||||
|
Reference in New Issue
Block a user