[Bug #800] Fix closable button in 'Calendar allocation' window
* Add panel to group widgets, as in others window in the application FEA: ItEr68S04BugFixing
This commit is contained in:
parent
f47dd66a8e
commit
cbd5f93e53
1 changed files with 23 additions and 13 deletions
|
|
@ -141,25 +141,35 @@
|
|||
|
||||
</window>
|
||||
|
||||
<!-- Calendar allocation -->
|
||||
<window id="calendarAllocationWindow"
|
||||
apply="${calendarController}"
|
||||
title="${i18n:_('Calendar allocation')}" width="600px"
|
||||
closable="true" visible="false">
|
||||
apply="${calendarController}"
|
||||
title="${i18n:_('Calendar allocation')}"
|
||||
width="600px"
|
||||
visible="false"
|
||||
closable="true"
|
||||
onClose="self.visible = false; event.stopPropagation();" >
|
||||
|
||||
<vbox>
|
||||
|
||||
<label value="${i18n:_('Select the calendar')}" />
|
||||
|
||||
<combobox id="calendarCombo">
|
||||
<comboitem self="@{each='baseCalnedar'}" value="@{baseCalnedar}"
|
||||
label="@{baseCalnedar.name}" />
|
||||
</combobox>
|
||||
<panel title="${i18n:_('Calendar')}"
|
||||
border="normal" style="overflow:auto" >
|
||||
<panelchildren>
|
||||
<combobox id="calendarCombo">
|
||||
<comboitem self="@{each='baseCalendar'}" value="@{baseCalendar}"
|
||||
label="@{baseCalendar.name}" />
|
||||
</combobox>
|
||||
</panelchildren>
|
||||
</panel>
|
||||
|
||||
<!-- Control buttons -->
|
||||
<hbox>
|
||||
<button label="${i18n:_('Assign')}" sclass="save-button global-action"
|
||||
onClick="calendarController.assign(calendarCombo.selectedItem);" />
|
||||
<button label="${i18n:_('Cancel')}" sclass="cancel-button global-action"
|
||||
onClick="calendarController.cancel();" />
|
||||
<button label="${i18n:_('Accept')}"
|
||||
sclass="save-button global-action"
|
||||
onClick="calendarController.assign(calendarCombo.selectedItem);" />
|
||||
<button label="${i18n:_('Cancel')}"
|
||||
sclass="cancel-button global-action"
|
||||
onClick="calendarController.cancel();" />
|
||||
</hbox>
|
||||
|
||||
</vbox>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue