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 2007/03/06 21:49:24 UTC

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

    [ 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.