fx115: Scaffold: Restore flex ratio in Tests tab
This commit is contained in:
parent
ba32c764a2
commit
b029e561f3
2 changed files with 10 additions and 4 deletions
|
@ -468,9 +468,7 @@
|
||||||
</tabpanel>
|
</tabpanel>
|
||||||
<tabpanel flex="1" id="tabpanel-tests">
|
<tabpanel flex="1" id="tabpanel-tests">
|
||||||
<vbox flex="1" style="max-width: 100%;">
|
<vbox flex="1" style="max-width: 100%;">
|
||||||
<!-- The `height` attribute on the vbox and iframe is overridden by `flex`. Without it,
|
<vbox id="testing-listbox-container">
|
||||||
though, the richlistbox grows when tests are added. -->
|
|
||||||
<vbox flex="1" height="auto">
|
|
||||||
<keyset>
|
<keyset>
|
||||||
<key id="key-delete-tests" observes="validate-tests" keycode="VK_BACK" oncommand="Scaffold.deleteSelectedTests()"/>
|
<key id="key-delete-tests" observes="validate-tests" keycode="VK_BACK" oncommand="Scaffold.deleteSelectedTests()"/>
|
||||||
</keyset>
|
</keyset>
|
||||||
|
@ -505,7 +503,7 @@
|
||||||
</hbox>
|
</hbox>
|
||||||
</vbox>
|
</vbox>
|
||||||
<splitter/>
|
<splitter/>
|
||||||
<iframe src="monaco/monaco.html" id="editor-tests" flex="2" height="auto" onmousedown="this.focus()"/>
|
<iframe src="monaco/monaco.html" id="editor-tests" onmousedown="this.focus()"/>
|
||||||
</vbox>
|
</vbox>
|
||||||
</tabpanel>
|
</tabpanel>
|
||||||
<tabpanel>
|
<tabpanel>
|
||||||
|
|
|
@ -172,3 +172,11 @@ vbox > splitter {
|
||||||
height: 300px;
|
height: 300px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#testing-listbox-container {
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
#editor-tests {
|
||||||
|
flex: 2;
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue