You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-dev@incubator.apache.org by "Trevor Oldak (JIRA)" <xa...@incubator.apache.org> on 2007/06/20 20:28:25 UTC

[jira] Created: (XAP-482) Widgets: Table: Table size incorrectly in a scrollPane

Widgets: Table: Table size incorrectly in a scrollPane
------------------------------------------------------

                 Key: XAP-482
                 URL: https://issues.apache.org/jira/browse/XAP-482
             Project: XAP
          Issue Type: Bug
          Components: Widgets: Table/Tree/TreeTable
            Reporter: Trevor Oldak
            Priority: Critical


Run the following XAL to see it in action:

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


[jira] Updated: (XAP-482) Widgets: Table: Table size incorrectly in a scrollPane

Posted by "Trevor Oldak (JIRA)" <xa...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/XAP-482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Trevor Oldak updated XAP-482:
-----------------------------

    Description: 
Run the following xal to see the tablees sized to 100% width and height.


<xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui">
        <scrollPane width="100%" height="100%">
            <label height="20px" text="Set width" width="100px" x="330px" y="0px"/>
            <table width="208px" x="330px" y="30px">
                <column>
                    <header text="Column #1" width="100px"/>
                </column>
                <column>
                    <header text="Column #2" width="100px"/>
                </column>
                <row>
                    <cell text="Row 1 Cell 1"/>
                    <cell text="Row 1 Cell 2"/>
                </row>
                <row>
                    <cell text="Row 2 Cell 1"/>
                    <cell text="Row 2 Cell 2"/>
                </row>
                <row>
                    <cell text="Row 3 Cell 1"/>
                    <cell text="Row 3 Cell 2"/>
                </row>
            </table>
            <label height="20px" text="Set height" width="100px" x="0px" y="140px"/>
            <table height="98px" x="100px" y="140px">
                <column>
                    <header text="Column #1" width="100px"/>
                </column>
                <column>
                    <header text="Column #2" width="100px"/>
                </column>
                <row>
                    <cell text="Row 1 Cell 1"/>
                    <cell text="Row 1 Cell 2"/>
                </row>
                <row>
                    <cell text="Row 2 Cell 1"/>
                    <cell text="Row 2 Cell 2"/>
                </row>
                <row>
                    <cell text="Row 3 Cell 1"/>
                    <cell text="Row 3 Cell 2"/>
                </row>
            </table>
            <label height="20px" text="No width" width="100px" x="100px" y="0px"/>
            <table x="100px" y="30px">
                <column>
                    <header text="Column #1" width="100px"/>
                </column>
                <column>
                    <header text="Column #2" width="100px"/>
                </column>
                <row>
                    <cell text="Row 1 Cell 1"/>
                    <cell text="Row 1 Cell 2"/>
                </row>
                <row>
                    <cell text="Row 2 Cell 1"/>
                    <cell text="Row 2 Cell 2"/>
                </row>
                <row>
                    <cell text="Row 3 Cell 1"/>
                    <cell text="Row 3 Cell 2"/>
                </row>
            </table>
            <label height="20px" text="No height" width="100px" x="0px" y="30px"/>
            <table height="98px" width="208px" x="330px" y="140px">
                <column>
                    <header text="Column #1" width="100px"/>
                </column>
                <column>
                    <header text="Column #2" width="100px"/>
                </column>
                <row>
                    <cell text="Row 1 Cell 1"/>
                    <cell text="Row 1 Cell 2"/>
                </row>
                <row>
                    <cell text="Row 2 Cell 1"/>
                    <cell text="Row 2 Cell 2"/>
                </row>
                <row>
                    <cell text="Row 3 Cell 1"/>
                    <cell text="Row 3 Cell 2"/>
                </row>
            </table>
        </scrollPane>
</xal>

  was:

<xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui">
        <scrollPane width="100%" height="100%">
            <label height="20px" text="Set width" width="100px" x="330px" y="0px"/>
            <table width="208px" x="330px" y="30px">
                <column>
                    <header text="Column #1" width="100px"/>
                </column>
                <column>
                    <header text="Column #2" width="100px"/>
                </column>
                <row>
                    <cell text="Row 1 Cell 1"/>
                    <cell text="Row 1 Cell 2"/>
                </row>
                <row>
                    <cell text="Row 2 Cell 1"/>
                    <cell text="Row 2 Cell 2"/>
                </row>
                <row>
                    <cell text="Row 3 Cell 1"/>
                    <cell text="Row 3 Cell 2"/>
                </row>
            </table>
            <label height="20px" text="Set height" width="100px" x="0px" y="140px"/>
            <table height="98px" x="100px" y="140px">
                <column>
                    <header text="Column #1" width="100px"/>
                </column>
                <column>
                    <header text="Column #2" width="100px"/>
                </column>
                <row>
                    <cell text="Row 1 Cell 1"/>
                    <cell text="Row 1 Cell 2"/>
                </row>
                <row>
                    <cell text="Row 2 Cell 1"/>
                    <cell text="Row 2 Cell 2"/>
                </row>
                <row>
                    <cell text="Row 3 Cell 1"/>
                    <cell text="Row 3 Cell 2"/>
                </row>
            </table>
            <label height="20px" text="No width" width="100px" x="100px" y="0px"/>
            <table x="100px" y="30px">
                <column>
                    <header text="Column #1" width="100px"/>
                </column>
                <column>
                    <header text="Column #2" width="100px"/>
                </column>
                <row>
                    <cell text="Row 1 Cell 1"/>
                    <cell text="Row 1 Cell 2"/>
                </row>
                <row>
                    <cell text="Row 2 Cell 1"/>
                    <cell text="Row 2 Cell 2"/>
                </row>
                <row>
                    <cell text="Row 3 Cell 1"/>
                    <cell text="Row 3 Cell 2"/>
                </row>
            </table>
            <label height="20px" text="No height" width="100px" x="0px" y="30px"/>
            <table height="98px" width="208px" x="330px" y="140px">
                <column>
                    <header text="Column #1" width="100px"/>
                </column>
                <column>
                    <header text="Column #2" width="100px"/>
                </column>
                <row>
                    <cell text="Row 1 Cell 1"/>
                    <cell text="Row 1 Cell 2"/>
                </row>
                <row>
                    <cell text="Row 2 Cell 1"/>
                    <cell text="Row 2 Cell 2"/>
                </row>
                <row>
                    <cell text="Row 3 Cell 1"/>
                    <cell text="Row 3 Cell 2"/>
                </row>
            </table>
        </scrollPane>
</xal>


> Widgets: Table: Table size incorrectly in a scrollPane
> ------------------------------------------------------
>
>                 Key: XAP-482
>                 URL: https://issues.apache.org/jira/browse/XAP-482
>             Project: XAP
>          Issue Type: Bug
>          Components: Widgets: Table/Tree/TreeTable
>            Reporter: Trevor Oldak
>            Priority: Critical
>
> Run the following xal to see the tablees sized to 100% width and height.
> <xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui">
>         <scrollPane width="100%" height="100%">
>             <label height="20px" text="Set width" width="100px" x="330px" y="0px"/>
>             <table width="208px" x="330px" y="30px">
>                 <column>
>                     <header text="Column #1" width="100px"/>
>                 </column>
>                 <column>
>                     <header text="Column #2" width="100px"/>
>                 </column>
>                 <row>
>                     <cell text="Row 1 Cell 1"/>
>                     <cell text="Row 1 Cell 2"/>
>                 </row>
>                 <row>
>                     <cell text="Row 2 Cell 1"/>
>                     <cell text="Row 2 Cell 2"/>
>                 </row>
>                 <row>
>                     <cell text="Row 3 Cell 1"/>
>                     <cell text="Row 3 Cell 2"/>
>                 </row>
>             </table>
>             <label height="20px" text="Set height" width="100px" x="0px" y="140px"/>
>             <table height="98px" x="100px" y="140px">
>                 <column>
>                     <header text="Column #1" width="100px"/>
>                 </column>
>                 <column>
>                     <header text="Column #2" width="100px"/>
>                 </column>
>                 <row>
>                     <cell text="Row 1 Cell 1"/>
>                     <cell text="Row 1 Cell 2"/>
>                 </row>
>                 <row>
>                     <cell text="Row 2 Cell 1"/>
>                     <cell text="Row 2 Cell 2"/>
>                 </row>
>                 <row>
>                     <cell text="Row 3 Cell 1"/>
>                     <cell text="Row 3 Cell 2"/>
>                 </row>
>             </table>
>             <label height="20px" text="No width" width="100px" x="100px" y="0px"/>
>             <table x="100px" y="30px">
>                 <column>
>                     <header text="Column #1" width="100px"/>
>                 </column>
>                 <column>
>                     <header text="Column #2" width="100px"/>
>                 </column>
>                 <row>
>                     <cell text="Row 1 Cell 1"/>
>                     <cell text="Row 1 Cell 2"/>
>                 </row>
>                 <row>
>                     <cell text="Row 2 Cell 1"/>
>                     <cell text="Row 2 Cell 2"/>
>                 </row>
>                 <row>
>                     <cell text="Row 3 Cell 1"/>
>                     <cell text="Row 3 Cell 2"/>
>                 </row>
>             </table>
>             <label height="20px" text="No height" width="100px" x="0px" y="30px"/>
>             <table height="98px" width="208px" x="330px" y="140px">
>                 <column>
>                     <header text="Column #1" width="100px"/>
>                 </column>
>                 <column>
>                     <header text="Column #2" width="100px"/>
>                 </column>
>                 <row>
>                     <cell text="Row 1 Cell 1"/>
>                     <cell text="Row 1 Cell 2"/>
>                 </row>
>                 <row>
>                     <cell text="Row 2 Cell 1"/>
>                     <cell text="Row 2 Cell 2"/>
>                 </row>
>                 <row>
>                     <cell text="Row 3 Cell 1"/>
>                     <cell text="Row 3 Cell 2"/>
>                 </row>
>             </table>
>         </scrollPane>
> </xal>

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


[jira] Updated: (XAP-482) Widgets: Table: Table size incorrectly in a scrollPane

Posted by "Trevor Oldak (JIRA)" <xa...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/XAP-482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Trevor Oldak updated XAP-482:
-----------------------------

    Description: 

<xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui">
        <scrollPane width="100%" height="100%">
            <label height="20px" text="Set width" width="100px" x="330px" y="0px"/>
            <table width="208px" x="330px" y="30px">
                <column>
                    <header text="Column #1" width="100px"/>
                </column>
                <column>
                    <header text="Column #2" width="100px"/>
                </column>
                <row>
                    <cell text="Row 1 Cell 1"/>
                    <cell text="Row 1 Cell 2"/>
                </row>
                <row>
                    <cell text="Row 2 Cell 1"/>
                    <cell text="Row 2 Cell 2"/>
                </row>
                <row>
                    <cell text="Row 3 Cell 1"/>
                    <cell text="Row 3 Cell 2"/>
                </row>
            </table>
            <label height="20px" text="Set height" width="100px" x="0px" y="140px"/>
            <table height="98px" x="100px" y="140px">
                <column>
                    <header text="Column #1" width="100px"/>
                </column>
                <column>
                    <header text="Column #2" width="100px"/>
                </column>
                <row>
                    <cell text="Row 1 Cell 1"/>
                    <cell text="Row 1 Cell 2"/>
                </row>
                <row>
                    <cell text="Row 2 Cell 1"/>
                    <cell text="Row 2 Cell 2"/>
                </row>
                <row>
                    <cell text="Row 3 Cell 1"/>
                    <cell text="Row 3 Cell 2"/>
                </row>
            </table>
            <label height="20px" text="No width" width="100px" x="100px" y="0px"/>
            <table x="100px" y="30px">
                <column>
                    <header text="Column #1" width="100px"/>
                </column>
                <column>
                    <header text="Column #2" width="100px"/>
                </column>
                <row>
                    <cell text="Row 1 Cell 1"/>
                    <cell text="Row 1 Cell 2"/>
                </row>
                <row>
                    <cell text="Row 2 Cell 1"/>
                    <cell text="Row 2 Cell 2"/>
                </row>
                <row>
                    <cell text="Row 3 Cell 1"/>
                    <cell text="Row 3 Cell 2"/>
                </row>
            </table>
            <label height="20px" text="No height" width="100px" x="0px" y="30px"/>
            <table height="98px" width="208px" x="330px" y="140px">
                <column>
                    <header text="Column #1" width="100px"/>
                </column>
                <column>
                    <header text="Column #2" width="100px"/>
                </column>
                <row>
                    <cell text="Row 1 Cell 1"/>
                    <cell text="Row 1 Cell 2"/>
                </row>
                <row>
                    <cell text="Row 2 Cell 1"/>
                    <cell text="Row 2 Cell 2"/>
                </row>
                <row>
                    <cell text="Row 3 Cell 1"/>
                    <cell text="Row 3 Cell 2"/>
                </row>
            </table>
        </scrollPane>
</xal>

  was:
Run the following XAL to see it in action:
<!--
    - Licensed to the Apache Software Foundation (ASF) under one
    -  or more contributor license agreements.  See the NOTICE file
    -  distributed with this work for additional information
    -  regarding copyright ownership.  The ASF licenses this file
    -  to you under the Apache License, Version 2.0 (the
    -  "License"); you may not use this file except in compliance
    -  with the License.  You may obtain a copy of the License at
    -
    -	http://www.apache.org/licenses/LICENSE-2.0
    -
    -  Unless required by applicable law or agreed to in writing, software
    -  distributed under the License is distributed on an "AS IS" BASIS,
    -  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    -  See the License for the specific language governing permissions and
    -  limitations under the License.
    -
-->

<xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui">
        <scrollPane width="100%" height="100%">
            <label height="20px" text="Set width" width="100px" x="330px" y="0px"/>
            <table width="208px" x="330px" y="30px">
                <column>
                    <header text="Column #1" width="100px"/>
                </column>
                <column>
                    <header text="Column #2" width="100px"/>
                </column>
                <row>
                    <cell text="Row 1 Cell 1"/>
                    <cell text="Row 1 Cell 2"/>
                </row>
                <row>
                    <cell text="Row 2 Cell 1"/>
                    <cell text="Row 2 Cell 2"/>
                </row>
                <row>
                    <cell text="Row 3 Cell 1"/>
                    <cell text="Row 3 Cell 2"/>
                </row>
            </table>
            <label height="20px" text="Set height" width="100px" x="0px" y="140px"/>
            <table height="98px" x="100px" y="140px">
                <column>
                    <header text="Column #1" width="100px"/>
                </column>
                <column>
                    <header text="Column #2" width="100px"/>
                </column>
                <row>
                    <cell text="Row 1 Cell 1"/>
                    <cell text="Row 1 Cell 2"/>
                </row>
                <row>
                    <cell text="Row 2 Cell 1"/>
                    <cell text="Row 2 Cell 2"/>
                </row>
                <row>
                    <cell text="Row 3 Cell 1"/>
                    <cell text="Row 3 Cell 2"/>
                </row>
            </table>
            <label height="20px" text="No width" width="100px" x="100px" y="0px"/>
            <table x="100px" y="30px">
                <column>
                    <header text="Column #1" width="100px"/>
                </column>
                <column>
                    <header text="Column #2" width="100px"/>
                </column>
                <row>
                    <cell text="Row 1 Cell 1"/>
                    <cell text="Row 1 Cell 2"/>
                </row>
                <row>
                    <cell text="Row 2 Cell 1"/>
                    <cell text="Row 2 Cell 2"/>
                </row>
                <row>
                    <cell text="Row 3 Cell 1"/>
                    <cell text="Row 3 Cell 2"/>
                </row>
            </table>
            <label height="20px" text="No height" width="100px" x="0px" y="30px"/>
            <table height="98px" width="208px" x="330px" y="140px">
                <column>
                    <header text="Column #1" width="100px"/>
                </column>
                <column>
                    <header text="Column #2" width="100px"/>
                </column>
                <row>
                    <cell text="Row 1 Cell 1"/>
                    <cell text="Row 1 Cell 2"/>
                </row>
                <row>
                    <cell text="Row 2 Cell 1"/>
                    <cell text="Row 2 Cell 2"/>
                </row>
                <row>
                    <cell text="Row 3 Cell 1"/>
                    <cell text="Row 3 Cell 2"/>
                </row>
            </table>
        </scrollPane>
</xal>


> Widgets: Table: Table size incorrectly in a scrollPane
> ------------------------------------------------------
>
>                 Key: XAP-482
>                 URL: https://issues.apache.org/jira/browse/XAP-482
>             Project: XAP
>          Issue Type: Bug
>          Components: Widgets: Table/Tree/TreeTable
>            Reporter: Trevor Oldak
>            Priority: Critical
>
> <xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui">
>         <scrollPane width="100%" height="100%">
>             <label height="20px" text="Set width" width="100px" x="330px" y="0px"/>
>             <table width="208px" x="330px" y="30px">
>                 <column>
>                     <header text="Column #1" width="100px"/>
>                 </column>
>                 <column>
>                     <header text="Column #2" width="100px"/>
>                 </column>
>                 <row>
>                     <cell text="Row 1 Cell 1"/>
>                     <cell text="Row 1 Cell 2"/>
>                 </row>
>                 <row>
>                     <cell text="Row 2 Cell 1"/>
>                     <cell text="Row 2 Cell 2"/>
>                 </row>
>                 <row>
>                     <cell text="Row 3 Cell 1"/>
>                     <cell text="Row 3 Cell 2"/>
>                 </row>
>             </table>
>             <label height="20px" text="Set height" width="100px" x="0px" y="140px"/>
>             <table height="98px" x="100px" y="140px">
>                 <column>
>                     <header text="Column #1" width="100px"/>
>                 </column>
>                 <column>
>                     <header text="Column #2" width="100px"/>
>                 </column>
>                 <row>
>                     <cell text="Row 1 Cell 1"/>
>                     <cell text="Row 1 Cell 2"/>
>                 </row>
>                 <row>
>                     <cell text="Row 2 Cell 1"/>
>                     <cell text="Row 2 Cell 2"/>
>                 </row>
>                 <row>
>                     <cell text="Row 3 Cell 1"/>
>                     <cell text="Row 3 Cell 2"/>
>                 </row>
>             </table>
>             <label height="20px" text="No width" width="100px" x="100px" y="0px"/>
>             <table x="100px" y="30px">
>                 <column>
>                     <header text="Column #1" width="100px"/>
>                 </column>
>                 <column>
>                     <header text="Column #2" width="100px"/>
>                 </column>
>                 <row>
>                     <cell text="Row 1 Cell 1"/>
>                     <cell text="Row 1 Cell 2"/>
>                 </row>
>                 <row>
>                     <cell text="Row 2 Cell 1"/>
>                     <cell text="Row 2 Cell 2"/>
>                 </row>
>                 <row>
>                     <cell text="Row 3 Cell 1"/>
>                     <cell text="Row 3 Cell 2"/>
>                 </row>
>             </table>
>             <label height="20px" text="No height" width="100px" x="0px" y="30px"/>
>             <table height="98px" width="208px" x="330px" y="140px">
>                 <column>
>                     <header text="Column #1" width="100px"/>
>                 </column>
>                 <column>
>                     <header text="Column #2" width="100px"/>
>                 </column>
>                 <row>
>                     <cell text="Row 1 Cell 1"/>
>                     <cell text="Row 1 Cell 2"/>
>                 </row>
>                 <row>
>                     <cell text="Row 2 Cell 1"/>
>                     <cell text="Row 2 Cell 2"/>
>                 </row>
>                 <row>
>                     <cell text="Row 3 Cell 1"/>
>                     <cell text="Row 3 Cell 2"/>
>                 </row>
>             </table>
>         </scrollPane>
> </xal>

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


[jira] Updated: (XAP-482) Widgets: Table: Table size incorrect in a scrollPane

Posted by "Trevor Oldak (JIRA)" <xa...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/XAP-482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Trevor Oldak updated XAP-482:
-----------------------------

    Summary: Widgets: Table: Table size incorrect in a scrollPane  (was: Widgets: Table: Table size incorrectly in a scrollPane)

> Widgets: Table: Table size incorrect in a scrollPane
> ----------------------------------------------------
>
>                 Key: XAP-482
>                 URL: https://issues.apache.org/jira/browse/XAP-482
>             Project: XAP
>          Issue Type: Bug
>          Components: Widgets: Table/Tree/TreeTable
>            Reporter: Trevor Oldak
>            Priority: Critical
>
> Run the following xal to see the tablees sized to 100% width and height.
> <xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui">
>         <scrollPane width="100%" height="100%">
>             <label height="20px" text="Set width" width="100px" x="330px" y="0px"/>
>             <table width="208px" x="330px" y="30px">
>                 <column>
>                     <header text="Column #1" width="100px"/>
>                 </column>
>                 <column>
>                     <header text="Column #2" width="100px"/>
>                 </column>
>                 <row>
>                     <cell text="Row 1 Cell 1"/>
>                     <cell text="Row 1 Cell 2"/>
>                 </row>
>                 <row>
>                     <cell text="Row 2 Cell 1"/>
>                     <cell text="Row 2 Cell 2"/>
>                 </row>
>                 <row>
>                     <cell text="Row 3 Cell 1"/>
>                     <cell text="Row 3 Cell 2"/>
>                 </row>
>             </table>
>             <label height="20px" text="Set height" width="100px" x="0px" y="140px"/>
>             <table height="98px" x="100px" y="140px">
>                 <column>
>                     <header text="Column #1" width="100px"/>
>                 </column>
>                 <column>
>                     <header text="Column #2" width="100px"/>
>                 </column>
>                 <row>
>                     <cell text="Row 1 Cell 1"/>
>                     <cell text="Row 1 Cell 2"/>
>                 </row>
>                 <row>
>                     <cell text="Row 2 Cell 1"/>
>                     <cell text="Row 2 Cell 2"/>
>                 </row>
>                 <row>
>                     <cell text="Row 3 Cell 1"/>
>                     <cell text="Row 3 Cell 2"/>
>                 </row>
>             </table>
>             <label height="20px" text="No width" width="100px" x="100px" y="0px"/>
>             <table x="100px" y="30px">
>                 <column>
>                     <header text="Column #1" width="100px"/>
>                 </column>
>                 <column>
>                     <header text="Column #2" width="100px"/>
>                 </column>
>                 <row>
>                     <cell text="Row 1 Cell 1"/>
>                     <cell text="Row 1 Cell 2"/>
>                 </row>
>                 <row>
>                     <cell text="Row 2 Cell 1"/>
>                     <cell text="Row 2 Cell 2"/>
>                 </row>
>                 <row>
>                     <cell text="Row 3 Cell 1"/>
>                     <cell text="Row 3 Cell 2"/>
>                 </row>
>             </table>
>             <label height="20px" text="No height" width="100px" x="0px" y="30px"/>
>             <table height="98px" width="208px" x="330px" y="140px">
>                 <column>
>                     <header text="Column #1" width="100px"/>
>                 </column>
>                 <column>
>                     <header text="Column #2" width="100px"/>
>                 </column>
>                 <row>
>                     <cell text="Row 1 Cell 1"/>
>                     <cell text="Row 1 Cell 2"/>
>                 </row>
>                 <row>
>                     <cell text="Row 2 Cell 1"/>
>                     <cell text="Row 2 Cell 2"/>
>                 </row>
>                 <row>
>                     <cell text="Row 3 Cell 1"/>
>                     <cell text="Row 3 Cell 2"/>
>                 </row>
>             </table>
>         </scrollPane>
> </xal>

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


[jira] Updated: (XAP-482) Widgets: Table: Table size incorrectly in a scrollPane

Posted by "Trevor Oldak (JIRA)" <xa...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/XAP-482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Trevor Oldak updated XAP-482:
-----------------------------

    Description: 
Run the following XAL to see it in action:
<!--
    - Licensed to the Apache Software Foundation (ASF) under one
    -  or more contributor license agreements.  See the NOTICE file
    -  distributed with this work for additional information
    -  regarding copyright ownership.  The ASF licenses this file
    -  to you under the Apache License, Version 2.0 (the
    -  "License"); you may not use this file except in compliance
    -  with the License.  You may obtain a copy of the License at
    -
    -	http://www.apache.org/licenses/LICENSE-2.0
    -
    -  Unless required by applicable law or agreed to in writing, software
    -  distributed under the License is distributed on an "AS IS" BASIS,
    -  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    -  See the License for the specific language governing permissions and
    -  limitations under the License.
    -
-->

<xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui">
        <scrollPane width="100%" height="100%">
            <label height="20px" text="Set width" width="100px" x="330px" y="0px"/>
            <table width="208px" x="330px" y="30px">
                <column>
                    <header text="Column #1" width="100px"/>
                </column>
                <column>
                    <header text="Column #2" width="100px"/>
                </column>
                <row>
                    <cell text="Row 1 Cell 1"/>
                    <cell text="Row 1 Cell 2"/>
                </row>
                <row>
                    <cell text="Row 2 Cell 1"/>
                    <cell text="Row 2 Cell 2"/>
                </row>
                <row>
                    <cell text="Row 3 Cell 1"/>
                    <cell text="Row 3 Cell 2"/>
                </row>
            </table>
            <label height="20px" text="Set height" width="100px" x="0px" y="140px"/>
            <table height="98px" x="100px" y="140px">
                <column>
                    <header text="Column #1" width="100px"/>
                </column>
                <column>
                    <header text="Column #2" width="100px"/>
                </column>
                <row>
                    <cell text="Row 1 Cell 1"/>
                    <cell text="Row 1 Cell 2"/>
                </row>
                <row>
                    <cell text="Row 2 Cell 1"/>
                    <cell text="Row 2 Cell 2"/>
                </row>
                <row>
                    <cell text="Row 3 Cell 1"/>
                    <cell text="Row 3 Cell 2"/>
                </row>
            </table>
            <label height="20px" text="No width" width="100px" x="100px" y="0px"/>
            <table x="100px" y="30px">
                <column>
                    <header text="Column #1" width="100px"/>
                </column>
                <column>
                    <header text="Column #2" width="100px"/>
                </column>
                <row>
                    <cell text="Row 1 Cell 1"/>
                    <cell text="Row 1 Cell 2"/>
                </row>
                <row>
                    <cell text="Row 2 Cell 1"/>
                    <cell text="Row 2 Cell 2"/>
                </row>
                <row>
                    <cell text="Row 3 Cell 1"/>
                    <cell text="Row 3 Cell 2"/>
                </row>
            </table>
            <label height="20px" text="No height" width="100px" x="0px" y="30px"/>
            <table height="98px" width="208px" x="330px" y="140px">
                <column>
                    <header text="Column #1" width="100px"/>
                </column>
                <column>
                    <header text="Column #2" width="100px"/>
                </column>
                <row>
                    <cell text="Row 1 Cell 1"/>
                    <cell text="Row 1 Cell 2"/>
                </row>
                <row>
                    <cell text="Row 2 Cell 1"/>
                    <cell text="Row 2 Cell 2"/>
                </row>
                <row>
                    <cell text="Row 3 Cell 1"/>
                    <cell text="Row 3 Cell 2"/>
                </row>
            </table>
        </scrollPane>
</xal>

  was:Run the following XAL to see it in action:


> Widgets: Table: Table size incorrectly in a scrollPane
> ------------------------------------------------------
>
>                 Key: XAP-482
>                 URL: https://issues.apache.org/jira/browse/XAP-482
>             Project: XAP
>          Issue Type: Bug
>          Components: Widgets: Table/Tree/TreeTable
>            Reporter: Trevor Oldak
>            Priority: Critical
>
> Run the following XAL to see it in action:
> <!--
>     - Licensed to the Apache Software Foundation (ASF) under one
>     -  or more contributor license agreements.  See the NOTICE file
>     -  distributed with this work for additional information
>     -  regarding copyright ownership.  The ASF licenses this file
>     -  to you under the Apache License, Version 2.0 (the
>     -  "License"); you may not use this file except in compliance
>     -  with the License.  You may obtain a copy of the License at
>     -
>     -	http://www.apache.org/licenses/LICENSE-2.0
>     -
>     -  Unless required by applicable law or agreed to in writing, software
>     -  distributed under the License is distributed on an "AS IS" BASIS,
>     -  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>     -  See the License for the specific language governing permissions and
>     -  limitations under the License.
>     -
> -->
> <xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui">
>         <scrollPane width="100%" height="100%">
>             <label height="20px" text="Set width" width="100px" x="330px" y="0px"/>
>             <table width="208px" x="330px" y="30px">
>                 <column>
>                     <header text="Column #1" width="100px"/>
>                 </column>
>                 <column>
>                     <header text="Column #2" width="100px"/>
>                 </column>
>                 <row>
>                     <cell text="Row 1 Cell 1"/>
>                     <cell text="Row 1 Cell 2"/>
>                 </row>
>                 <row>
>                     <cell text="Row 2 Cell 1"/>
>                     <cell text="Row 2 Cell 2"/>
>                 </row>
>                 <row>
>                     <cell text="Row 3 Cell 1"/>
>                     <cell text="Row 3 Cell 2"/>
>                 </row>
>             </table>
>             <label height="20px" text="Set height" width="100px" x="0px" y="140px"/>
>             <table height="98px" x="100px" y="140px">
>                 <column>
>                     <header text="Column #1" width="100px"/>
>                 </column>
>                 <column>
>                     <header text="Column #2" width="100px"/>
>                 </column>
>                 <row>
>                     <cell text="Row 1 Cell 1"/>
>                     <cell text="Row 1 Cell 2"/>
>                 </row>
>                 <row>
>                     <cell text="Row 2 Cell 1"/>
>                     <cell text="Row 2 Cell 2"/>
>                 </row>
>                 <row>
>                     <cell text="Row 3 Cell 1"/>
>                     <cell text="Row 3 Cell 2"/>
>                 </row>
>             </table>
>             <label height="20px" text="No width" width="100px" x="100px" y="0px"/>
>             <table x="100px" y="30px">
>                 <column>
>                     <header text="Column #1" width="100px"/>
>                 </column>
>                 <column>
>                     <header text="Column #2" width="100px"/>
>                 </column>
>                 <row>
>                     <cell text="Row 1 Cell 1"/>
>                     <cell text="Row 1 Cell 2"/>
>                 </row>
>                 <row>
>                     <cell text="Row 2 Cell 1"/>
>                     <cell text="Row 2 Cell 2"/>
>                 </row>
>                 <row>
>                     <cell text="Row 3 Cell 1"/>
>                     <cell text="Row 3 Cell 2"/>
>                 </row>
>             </table>
>             <label height="20px" text="No height" width="100px" x="0px" y="30px"/>
>             <table height="98px" width="208px" x="330px" y="140px">
>                 <column>
>                     <header text="Column #1" width="100px"/>
>                 </column>
>                 <column>
>                     <header text="Column #2" width="100px"/>
>                 </column>
>                 <row>
>                     <cell text="Row 1 Cell 1"/>
>                     <cell text="Row 1 Cell 2"/>
>                 </row>
>                 <row>
>                     <cell text="Row 2 Cell 1"/>
>                     <cell text="Row 2 Cell 2"/>
>                 </row>
>                 <row>
>                     <cell text="Row 3 Cell 1"/>
>                     <cell text="Row 3 Cell 2"/>
>                 </row>
>             </table>
>         </scrollPane>
> </xal>

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


[jira] Commented: (XAP-482) Widgets: Table: Table size incorrectly in a scrollPane

Posted by "Michael Mikhaylov (JIRA)" <xa...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/XAP-482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12506966 ] 

Michael Mikhaylov commented on XAP-482:
---------------------------------------

Commenting out the following lines

		//child.domNode.style.minWidth = "100%";
		//child.domNode.style.minHeight = "100%";

in xap.widgets.dojo.ScrollPane seems to fix this issue. Not sure if this fix breaks some other aspects of ScrollPane widget.

> Widgets: Table: Table size incorrectly in a scrollPane
> ------------------------------------------------------
>
>                 Key: XAP-482
>                 URL: https://issues.apache.org/jira/browse/XAP-482
>             Project: XAP
>          Issue Type: Bug
>          Components: Widgets: Table/Tree/TreeTable
>            Reporter: Trevor Oldak
>            Priority: Critical
>
> Run the following xal to see the tablees sized to 100% width and height.
> <xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui">
>         <scrollPane width="100%" height="100%">
>             <label height="20px" text="Set width" width="100px" x="330px" y="0px"/>
>             <table width="208px" x="330px" y="30px">
>                 <column>
>                     <header text="Column #1" width="100px"/>
>                 </column>
>                 <column>
>                     <header text="Column #2" width="100px"/>
>                 </column>
>                 <row>
>                     <cell text="Row 1 Cell 1"/>
>                     <cell text="Row 1 Cell 2"/>
>                 </row>
>                 <row>
>                     <cell text="Row 2 Cell 1"/>
>                     <cell text="Row 2 Cell 2"/>
>                 </row>
>                 <row>
>                     <cell text="Row 3 Cell 1"/>
>                     <cell text="Row 3 Cell 2"/>
>                 </row>
>             </table>
>             <label height="20px" text="Set height" width="100px" x="0px" y="140px"/>
>             <table height="98px" x="100px" y="140px">
>                 <column>
>                     <header text="Column #1" width="100px"/>
>                 </column>
>                 <column>
>                     <header text="Column #2" width="100px"/>
>                 </column>
>                 <row>
>                     <cell text="Row 1 Cell 1"/>
>                     <cell text="Row 1 Cell 2"/>
>                 </row>
>                 <row>
>                     <cell text="Row 2 Cell 1"/>
>                     <cell text="Row 2 Cell 2"/>
>                 </row>
>                 <row>
>                     <cell text="Row 3 Cell 1"/>
>                     <cell text="Row 3 Cell 2"/>
>                 </row>
>             </table>
>             <label height="20px" text="No width" width="100px" x="100px" y="0px"/>
>             <table x="100px" y="30px">
>                 <column>
>                     <header text="Column #1" width="100px"/>
>                 </column>
>                 <column>
>                     <header text="Column #2" width="100px"/>
>                 </column>
>                 <row>
>                     <cell text="Row 1 Cell 1"/>
>                     <cell text="Row 1 Cell 2"/>
>                 </row>
>                 <row>
>                     <cell text="Row 2 Cell 1"/>
>                     <cell text="Row 2 Cell 2"/>
>                 </row>
>                 <row>
>                     <cell text="Row 3 Cell 1"/>
>                     <cell text="Row 3 Cell 2"/>
>                 </row>
>             </table>
>             <label height="20px" text="No height" width="100px" x="0px" y="30px"/>
>             <table height="98px" width="208px" x="330px" y="140px">
>                 <column>
>                     <header text="Column #1" width="100px"/>
>                 </column>
>                 <column>
>                     <header text="Column #2" width="100px"/>
>                 </column>
>                 <row>
>                     <cell text="Row 1 Cell 1"/>
>                     <cell text="Row 1 Cell 2"/>
>                 </row>
>                 <row>
>                     <cell text="Row 2 Cell 1"/>
>                     <cell text="Row 2 Cell 2"/>
>                 </row>
>                 <row>
>                     <cell text="Row 3 Cell 1"/>
>                     <cell text="Row 3 Cell 2"/>
>                 </row>
>             </table>
>         </scrollPane>
> </xal>

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