Added an extra grid in settings to format the page like others.

FEA: ItEr75S07UserSettings
This commit is contained in:
Manuel Rego Casasnovas 2011-06-29 17:52:17 +02:00
parent c2699389fe
commit bc618ec55d

View file

@ -40,51 +40,56 @@
</tabs>
<tabpanels>
<tabpanel>
<!-- Data -->
<groupbox style="margin-top: 5px" closable="false">
<hbox>
<label value="${i18n:_('Select language:')}" />
<grid fixedLayout="true" id="configurationVariables">
<columns>
<column width="200px" />
<column />
</columns>
<rows>
<row>
<label value="${i18n:_('Select language:')}" />
<listbox id="applicationLanguage"
model="@{settingsController.languages}"
itemRenderer="@{settingsController.languagesRenderer}"
selectedItem="@{settingsController.selectedLanguage}"
mold="select" />
</hbox>
<separator/>
<hbox>
<label
value="${i18n:_('Planning charts expanded')}" />
<grid>
<columns>
<column />
<column />
<column />
</columns>
<rows>
<row>
<checkbox id="expandCompanyPlanningViewCharts"
label="${i18n:_('Company view')}"
checked="@{settingsController.expandCompanyPlanningViewCharts}"/>
<checkbox id="expandOrderPlanningViewCharts"
label="${i18n:_('Project view')}"
checked="@{settingsController.expandOrderPlanningViewCharts}"/>
<checkbox id="expandResourceLoadViewCharts"
label="${i18n:_('Resource load view')}"
checked="@{settingsController.expandResourceLoadViewCharts}"/>
</row>
</rows>
</grid>
</hbox>
<hbox>
<button label="${i18n:_('Save')}"
sclass="save-button global-action"
onClick="settingsController.save()" />
</hbox>
<listbox id="applicationLanguage"
model="@{settingsController.languages}"
itemRenderer="@{settingsController.languagesRenderer}"
selectedItem="@{settingsController.selectedLanguage}"
mold="select" />
</row>
<row>
<label
value="${i18n:_('Planning charts expanded')}" />
<grid>
<columns>
<column />
<column />
<column />
</columns>
<rows>
<row>
<checkbox id="expandCompanyPlanningViewCharts"
label="${i18n:_('Company view')}"
checked="@{settingsController.expandCompanyPlanningViewCharts}"/>
<checkbox id="expandOrderPlanningViewCharts"
label="${i18n:_('Project view')}"
checked="@{settingsController.expandOrderPlanningViewCharts}"/>
<checkbox id="expandResourceLoadViewCharts"
label="${i18n:_('Resource load view')}"
checked="@{settingsController.expandResourceLoadViewCharts}"/>
</row>
</rows>
</grid>
</row>
</rows>
</grid>
</groupbox>
</tabpanel>
</tabpanels>
</tabbox>
<hbox>
<button label="${i18n:_('Save')}"
sclass="save-button global-action"
onClick="settingsController.save()" />
</hbox>
</window>
</zk>