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 "James Margaris (JIRA)" <xa...@incubator.apache.org> on 2007/03/27 23:24:33 UTC

[jira] Updated: (XAP-220) Label used instead of a cell doesn't fill the cell's space.

     [ https://issues.apache.org/jira/browse/XAP-220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Margaris updated XAP-220:
-------------------------------

    Environment:     (was: Studio 3.0, Platform 4.5.1, JDK 1.5, Win XP)

> Label  used instead of  a cell doesn't fill the cell's space.
> -------------------------------------------------------------
>
>                 Key: XAP-220
>                 URL: https://issues.apache.org/jira/browse/XAP-220
>             Project: XAP
>          Issue Type: Bug
>          Components: Widgets: Table/Tree/TreeTable
>            Reporter: Jing Wang
>            Priority: Minor
>
> Original: Setting alignHorizontal value [in a label]  does not reflect in UI.
> Bug:  the alignment was done correctly, but the label didn't have an explicit width, so it was shrunk to the size of the text and the image.  It extended from the left border of the column about halfway into the cell, not looking right-aligned at all.  
> Work-around:  set the width of the label to "100%", so it fills the virtual cell.
> Fix:  When replacing a cell, a label's (or button's, radio button's, checkbox's,...?) default width and height should be those of the cell for which it's standing in.

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