how can i change the align of all the text in the application to "right" ?
setLayout(Item.LAYOUT_RIGHT); doens't affect the item text align.
how can i change the align of all the text in the application to "right" ?
setLayout(Item.LAYOUT_RIGHT); doens't affect the item text align.
Hi,
May be you have done something else wrong..
check the code..
read about this method..
public void setLayout(int layout)
Sets the layout directives for this item.
It is illegal to call this method if this Item is contained within an Alert.
Parameters:
layout - a combination of layout directive values for this item
Throws:
IllegalArgumentException - if the value of layout is not a bit-wise OR combination of layout directives
IllegalStateException - if this Item is contained within an Alert
Since:
MIDP 2.0
and
thanks,LAYOUT_RIGHT
public static final int LAYOUT_RIGHT
A layout directive indicating that this Item should have a right-aligned layout.
Value 2 is assigned to LAYOUT_RIGHT.
Since:
MIDP 2.0
Thanks with Regards,
R a j - The K e r n e l
Join Delhi-NCR Nokia Developer's Community,