Skip to content

Commit

Permalink
gitview: Set the default width of graph cell
Browse files Browse the repository at this point in the history
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Aneesh Kumar K.V authored and Junio C Hamano committed Feb 28, 2006
1 parent 0852694 commit d82343b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions contrib/gitview/gitview
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,9 @@ class GitView:
self.treeview.show()

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.set_resizable(True)
column.pack_start(cell, expand=True)
Expand Down

0 comments on commit d82343b

Please sign in to comment.