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/03/06 20:48:24 UTC

[jira] Created: (XAP-324) Widgets: Label: TextAlign doesn't work for labels in a table.

Widgets: Label: TextAlign doesn't work for labels in a table.
-------------------------------------------------------------

                 Key: XAP-324
                 URL: https://issues.apache.org/jira/browse/XAP-324
             Project: XAP
          Issue Type: Bug
          Components: Widgets
            Reporter: Trevor Oldak
            Priority: Minor


Setting textAlign on a label in a table has no effect.

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


[jira] Closed: (XAP-324) Widgets: Label: TextAlign doesn't work for labels in a table.

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

Trevor Oldak closed XAP-324.
----------------------------

    Resolution: Invalid

> Widgets: Label: TextAlign doesn't work for labels in a table.
> -------------------------------------------------------------
>
>                 Key: XAP-324
>                 URL: https://issues.apache.org/jira/browse/XAP-324
>             Project: XAP
>          Issue Type: Bug
>          Components: Widgets: Other
>            Reporter: Trevor Oldak
>            Priority: Minor
>
> Setting textAlign on a label in a table has no effect.

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


[jira] Commented: (XAP-324) Widgets: Label: TextAlign doesn't work for labels in a table.

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

Turyn, Michael commented on XAP-324:
------------------------------------

Substitute the following for the testComponent label in label.xal:

<table>
	<row>
		<cell width="200px" backgroundColor="red"/>
		<label id="testComponent" text="MY PRECIOUS LABEL" width="300px"/>
	</row>
</table>

I can't find a textAlign attribute; if it's "alignHorizontal" that works in the example as modified above.  

However, without an explicit width, the label gets reduced to its text's width, at which aligning the text can't do anything.  Is this bug really "A label used instead of a cell in a table doesn't fill the full space a cell would,"?


http://dev.nexaweb.com/docs/ref/v450/XML%20Syntax/UIReferenceGuide/noNamespace/complexType/label-element-type.html#attr_alignHorizontal

> Widgets: Label: TextAlign doesn't work for labels in a table.
> -------------------------------------------------------------
>
>                 Key: XAP-324
>                 URL: https://issues.apache.org/jira/browse/XAP-324
>             Project: XAP
>          Issue Type: Bug
>          Components: Widgets
>            Reporter: Trevor Oldak
>            Priority: Minor
>
> Setting textAlign on a label in a table has no effect.

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


[jira] Commented: (XAP-324) Widgets: Label: TextAlign doesn't work for labels in a table.

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

Turyn, Michael commented on XAP-324:
------------------------------------

Sorry, I forgot to update the example code I was suggesting be tried; this shows the problem better:

<table>
	<row>
		<label width="200px" backgroundColor="blue" />
		<label width="300px" backgroundColor="purple" />
	</row>
	<row>
		<label width="250px" backgroundColor="red" />
		<label id="testComponent" text="MY PRECIOUS LABEL" borderWidth="4px" borderStyle="double" borderColor="purple" width="100%"/>
	</row>
</table>

---try it with and without the "width=\"100%\""

> Widgets: Label: TextAlign doesn't work for labels in a table.
> -------------------------------------------------------------
>
>                 Key: XAP-324
>                 URL: https://issues.apache.org/jira/browse/XAP-324
>             Project: XAP
>          Issue Type: Bug
>          Components: Widgets
>            Reporter: Trevor Oldak
>            Priority: Minor
>
> Setting textAlign on a label in a table has no effect.

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