AI scenario dialog: add headers and equalize column length
This commit is contained in:
parent
865c5cfe92
commit
9ec15380aa
1 changed files with 27 additions and 3 deletions
|
@ -47,7 +47,19 @@
|
|||
</button>
|
||||
</group>
|
||||
|
||||
<hrule/>
|
||||
<group>
|
||||
<layout>hbox</layout>
|
||||
<hrule>
|
||||
<stretch>true</stretch>
|
||||
</hrule>
|
||||
<text>
|
||||
<label>Timetable-Based AI Traffic</label>
|
||||
<halign>center</halign>
|
||||
</text>
|
||||
<hrule>
|
||||
<stretch>true</stretch>
|
||||
</hrule>
|
||||
</group>
|
||||
|
||||
<group>
|
||||
<layout>vbox</layout>
|
||||
|
@ -110,7 +122,19 @@
|
|||
</group>
|
||||
</group>
|
||||
|
||||
<hrule />
|
||||
<group>
|
||||
<layout>hbox</layout>
|
||||
<hrule>
|
||||
<stretch>true</stretch>
|
||||
</hrule>
|
||||
<text>
|
||||
<label>Scenarios</label>
|
||||
<halign>center</halign>
|
||||
</text>
|
||||
<hrule>
|
||||
<stretch>true</stretch>
|
||||
</hrule>
|
||||
</group>
|
||||
|
||||
<group>
|
||||
<layout>hbox</layout>
|
||||
|
@ -219,7 +243,7 @@
|
|||
for(i=0;i<size(scenarios);i += 1) {
|
||||
processScenario( i, col, scenarios[i]);
|
||||
coli += 1;
|
||||
if (coli > colsz){
|
||||
if (coli >= colsz){
|
||||
coli = 0;
|
||||
col += 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue