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 "Turyn, Michael (JIRA)" <xa...@incubator.apache.org> on 2006/12/20 20:02:21 UTC

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

     [ http://issues.apache.org/jira/browse/XAP-220?page=all ]

Turyn, Michael updated XAP-220:
-------------------------------

        Summary: Label  used instead of  a cell doesn't fill the cell's space.  (was: Widgets:Lable alignHorizontal setting does not work)
    Description: 
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.

  was:Setting alignHorizontal value does not reflect in UI.

       Priority: Minor  (was: Major)

Annoying, but not a basic functionality problem, and there's a work-around, so I've reduced the severity level.

> Label  used instead of  a cell doesn't fill the cell's space.
> -------------------------------------------------------------
>
>                 Key: XAP-220
>                 URL: http://issues.apache.org/jira/browse/XAP-220
>             Project: XAP
>          Issue Type: Bug
>          Components: Widgets
>         Environment: Studio 3.0, Platform 4.5.1, JDK 1.5, Win XP
>            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.
-
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