Widget: Window: windows that contain a tabPane will redraw other windows when 
dragged around screen
---------------------------------------------------------------------------------------------------

                 Key: XAP-89
                 URL: http://issues.apache.org/jira/browse/XAP-89
             Project: XAP
          Issue Type: Bug
          Components: Widgets
            Reporter: Matt Carbone


If a window contains a tabPane and is dragged around the screen, other windows 
will be redrawn. This gives the appearance of the other windows moving around 
with the one being moved - relative to its position. 

Steps---
run snippet
move the other windows to various points on the screen
now move the window containing the tabPane
notice the other windows being redrawn

<xal xmlns="http://www.openxal.org/xal"; xmlns:xal="http://www.openxal.org/xal";>
    <xm:modifications xmlns:xm="http://www.openxal.org/xmodify";>
        <xm:append select="/xal">
            <xal:freePanel width="75%" height="75%">
                <xal:window title="A window" id="zz">
                    <xal:verticalPanel>
                        <xal:tabPane width="700px" height="400px">
                            <xal:tab text="Tab 1" id="tab1">
                                <verticalPanel backgroundColor="#CCFFCC">
                                    <xal:button text="budfdfdfdfttonA"/>
                                    <xal:button text="buttonB"/>
                                    <xal:button text="buttonC"/>
                                </verticalPanel>
                            </xal:tab>
                            <xal:tab text="Tab 3"  id="tab2" width="200px"  >
                                <verticalPanel backgroundColor="#CCFFCC">
                                    <xal:button text="budfdfdfdfttonA"/>
                                    <xal:button text="buttonB"/>
                                    <xal:button text="buttonC"/>
                                </verticalPanel>
                            </xal:tab>
                            <xal:tab text="Tab 3" id="tab3"  >
                                <horizontalPanel backgroundColor="#CCCCFF">
                                    <xal:button text="buttonA" width="30px"/>
                                    <xal:button text="buttonB"/>
                                    <xal:button text="buttonC" width="30%"/>
                                </horizontalPanel>
                            </xal:tab>
                        </xal:tabPane>
                    </xal:verticalPanel>
                </xal:window>
                <xal:window title="A window" id="z"></xal:window>
                <xal:window title="A window" id="a"></xal:window>
                <xal:window title="A window" id="s"></xal:window>
            </xal:freePanel>
        </xm:append>
    </xm:modifications>
</xal>



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to