add dialog header&footer

This commit is contained in:
Ralf Becker 2014-04-01 16:07:38 +00:00
parent 6fdf8c98d1
commit 6bf826628b
2 changed files with 15 additions and 11 deletions

View File

@ -46,6 +46,6 @@ tr.prefRow:hover .prefHelp {
} }
.prefType, .prefApp { .prefType, .prefApp {
font-size: 150%; font-size: 150%;
display: inline-block; margin-top: 10px;
padding-bottom: 5px; margin-right: 5px;
} }

View File

@ -22,12 +22,14 @@
</grid> </grid>
</template> </template>
<template id="preferences.settings" template="" lang="" group="0" version="1.9.002"> <template id="preferences.settings" template="" lang="" group="0" version="1.9.002">
<menulist> <hbox class="dialogHeader">
<menupopup id="appname" onchange="1" options="Common preferences" class="prefApp"/> <menulist>
</menulist> <menupopup id="appname" onchange="1" options="Common preferences" class="prefApp"/>
<menulist> </menulist>
<menupopup id="type" onchange="1" class="prefType"/> <menulist>
</menulist> <menupopup id="type" onchange="1" class="prefType"/>
</menulist>
</hbox>
<tabbox id="tabs"> <tabbox id="tabs">
<tabs> <tabs>
<tab id="tab1" label="Settings"/> <tab id="tab1" label="Settings"/>
@ -36,8 +38,10 @@
<template id="preferences.settings.tab1" content="tab1"/> <template id="preferences.settings.tab1" content="tab1"/>
</tabpanels> </tabpanels>
</tabbox> </tabbox>
<button label="Save" id="button[save]"/> <hbox class="dialogFooterToolbar" width="100%">
<button label="Apply" id="button[apply]"/> <button label="Save" id="button[save]"/>
<button label="Cancel" id="button[cancel]" onclick="window.close();"/> <button label="Apply" id="button[apply]"/>
<button label="Cancel" id="button[cancel]" onclick="window.close();"/>
</hbox>
</template> </template>
</overlay> </overlay>