GUI: HudConfigurator shows combo boxes for stats
This commit is contained in:
parent
f6232004ad
commit
d95fcfe5d0
|
@ -423,11 +423,20 @@ class fpdb:
|
|||
label=gtk.Label("column "+str(columnNumber))
|
||||
table.attach(child=label, left_attach=columnNumber, right_attach=columnNumber+1, top_attach=rowNumber, bottom_attach=rowNumber+1)
|
||||
label.show()
|
||||
else:
|
||||
if columnNumber==0:
|
||||
elif columnNumber==0:
|
||||
label=gtk.Label("row "+str(rowNumber))
|
||||
table.attach(child=label, left_attach=columnNumber, right_attach=columnNumber+1, top_attach=rowNumber, bottom_attach=rowNumber+1)
|
||||
label.show()
|
||||
else:
|
||||
comboBox = gtk.combo_box_new_text()
|
||||
for i in ("vpip", "pfr", "wtsd"):
|
||||
comboBox.append_text(i)
|
||||
comboBox.set_active(0)
|
||||
|
||||
newRow.append(comboBox)
|
||||
table.attach(child=comboBox, left_attach=columnNumber, right_attach=columnNumber+1, top_attach=rowNumber, bottom_attach=rowNumber+1)
|
||||
|
||||
comboBox.show()
|
||||
self.hudConfiguratorTableContents.append(newRow)
|
||||
diaHudTable.vbox.add(table)
|
||||
table.show()
|
||||
|
|
Loading…
Reference in New Issue
Block a user