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 "Michael Mikhaylov (JIRA)" <xa...@incubator.apache.org> on 2007/06/21 17:36:26 UTC
[jira] Commented: (XAP-482) Widgets: Table: Table size incorrectly
in a scrollPane
[ 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.