[ 
https://issues.apache.org/jira/browse/XAP-355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12486457
 ] 

Turyn, Michael commented on XAP-355:
------------------------------------

A quick work-around for Firefox, doesn't hurt IE6---this might also be a clue 
toward what's going wrong in Firefox:

1.) Just add the shell of the window (it needs to be a little higher):

    <window xmlns="http://openxal.org/ui/html"; height="180px" width="300px" 
id="requestWindow" title="Request New Trace" minimizable="false" 
maximizable="false" resizable="false" centered="true" visible="true">
     </window> 

2.) Later on in the XAL, add the interior---it also needs to be changed a 
little:

                <xm:append select="id('requestWindow')">
                        <freePane x="0" y="0" fontSize="8pt" width="300px" 
height="160px">
                                <label text="You are requesting a new trace, 
are you" x="0px" y="30px" width="220px" borderStyle="solid" borderColor="red" 
borderWidth="0px" padding="10px 20px"/>
                                <label text="sure you want to proceed with the 
request?" x="0px" y="70px" width="220px" borderStyle="solid" borderColor="red" 
borderWidth="0px" padding="0px 20px"/>
                                <label text=" " x="0px" height="40px" y="80px" 
width="220px" borderStyle="solid" borderColor="red" borderWidth="0px" 
padding="0px 20px"/>
                                <button height="25px" text="Cancel" 
width="80px" x="60px" y="105px" 
onCommand="macro:closeHelpDialog.execute('helpDialog')"/>
                                <button height="25px" text=" Yes  " 
width="80px" x="180px" y="105px" onCommand="mco:handler.requestNewTrace()" 
textAlign="center"/>
                        </freePane>
                
                </xm:append>

> Widgets:window display issues
> -----------------------------
>
>                 Key: XAP-355
>                 URL: https://issues.apache.org/jira/browse/XAP-355
>             Project: XAP
>          Issue Type: Bug
>          Components: Widgets: Windows and Dialogs
>         Environment: Platform 4.5.5, Studio 3.0.3
>            Reporter: Jing Wang
>            Priority: Critical
>
> 1.) Content not displayed in Firefox
> 2.)The bordered box which would hold the resizing handle in its lower-right 
> corner even though the window is unresizable.
> Maybe dojo upgrading issue. 
> Attached is the simple window xal :
>     <window xmlns="http://openxal.org/ui/html"; height="160px" width="300px" 
> id="requestWindow" title="Request New Trace" minimizable="false" 
> maximizable="false" resizable="false" centered="true" visible="true">
>       <freePane fontSize="8pt" width="300px" height="160px">
>         <label text="You are requesting for a new trace, are you" x="0px" 
> y="10px" width="220px"  borderStyle="solid" borderColor="red" 
> borderWidth="0px" padding="10px 20px"/>
>         <label text="sure you want to proceed the request?" x="0px" y="40px" 
> width="220px" borderStyle="solid" borderColor="red" borderWidth="0px" 
> padding="0px 20px"/>
>         <button height="25px" text="Cancel" width="80px" x="90px" y="80px" 
> onCommand="macro:closeHelpDialog.execute('helpDialog')"/>
>         <button height="25px" text="Yes" width="80px" x="180px" y="80px" 
> onCommand="mco:handler.requestNewTrace()"/>
>       </freePane>
>     </window>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to