Tidy up alignment and expanding of cells in Player Stats window
This commit is contained in:
parent
e0e4eb4c3c
commit
91bb9fc65f
|
@ -259,11 +259,14 @@ class GuiPlayerStats (threading.Thread):
|
|||
if col == 1 and holecards:
|
||||
listcols[col].pack_start(textcell, expand=True)
|
||||
else:
|
||||
listcols[col].pack_start(textcell, expand=False)
|
||||
listcols[col].pack_start(textcell, expand=True)
|
||||
listcols[col].add_attribute(textcell, 'text', col)
|
||||
listcols[col].set_expand(True)
|
||||
else:
|
||||
listcols[col].pack_start(numcell, expand=False)
|
||||
listcols[col].pack_start(numcell, expand=True)
|
||||
listcols[col].add_attribute(numcell, 'text', col)
|
||||
listcols[col].set_alignment(1.0)
|
||||
listcols[col].set_expand(True)
|
||||
|
||||
rows = len(result) # +1 for title row
|
||||
|
||||
|
@ -435,6 +438,3 @@ class GuiPlayerStats (threading.Thread):
|
|||
detailDialog.destroy()
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user