Details
-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
7.0.3
-
None
Description
When a modal window has a custom caption, the window can be dragged only when drag is started on caption icon/title, not on caption children. "Move" mouse pointer is shown correctly, but clicking and dragging only selects text.
Example code snippet:
<window> <caption label="Window title" image="${formsUrls.IMG_FORM_PREVIEW}" sclass="i-custom-caption"> <span hflex="true" style="display: inline-block; text-align: right"> <span style="display: inline-block;"> <form-label value="Locale:" /> <combobox width="120px" readonly="true" model="@load(controller.supportedLocales)" selectedItem="@bind(controller.selectedLocale)" itemRenderer="foo.LocaleComboitemRenderer" onSelect="@command('localeSelected')" /> </span> <toolbarbutton image="${formsUrls.IMG_REFRESH_GREEN}" tooltiptext="Button tooltip" onClick="@command('buildLayout')" /> </span> </caption> ... </window>
Forum post about related issue with multiline captions:
http://forum.zkoss.org/question/93790/problems-generated-by-changes-in-window-titles-and-captions-in-zk-7/
ZKFiddle, from referenced forum post:
http://zkfiddle.org/sample/287hhea/1-Window-caption-and-multiple-line