BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 09-05-2008, 02:02 PM   #1 (permalink)
arv
Knows Where the Search Button Is
 
Join Date: May 2007
Location: indonesia
Model: 8800
PIN: N/A
Carrier: vodafone
Posts: 21
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question text of LabelField outside the screen visibility?

Please Login to Remove!

Hi All,
I need help about the LabelField with unicode text.



I create a LabelField with long unicode text (arabic).
when I use the default alignment (LEFT), i have no problem
with long unicode text.

the arabic languange, using right alignment, so i change
the alignment to RIGHT.
But i got problem with the labelfield (only for long text).

I attach image of the problem.
I write 2 line of equal LabelField,
I only change the allignment style.
*that 2 LabelFields i added to VerticalFieldManager*

the first line (white background) is the problem,
LabelField with style Field.USE_ALL_WIDTH | DrawStyle.RIGHT,
getting outside of the screen visibility.

the second line (blue background when focused),
have no problem with long text of LabelField.
(it's using LEFT alignment)

anyone have answer of my problem?
thank you so much.

Offline  
Old 09-08-2008, 03:52 AM   #2 (permalink)
CrackBerry Addict
 
Join Date: Apr 2005
Location: hamburg, germany
Model: 8900
Carrier: o2
Posts: 838
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

i would guess it is a bug, maybe you should repost it at the RIM support forums.
or you can fix it yourself by overwriting the draw method of the labelfield.
__________________
java developer, Devinto, hamburg/germany
Offline  
Old 09-08-2008, 04:09 AM   #3 (permalink)
arv
Knows Where the Search Button Is
 
Join Date: May 2007
Location: indonesia
Model: 8800
PIN: N/A
Carrier: vodafone
Posts: 21
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by simon.hain View Post
i would guess it is a bug, maybe you should repost it at the RIM support forums.
or you can fix it yourself by overwriting the draw method of the labelfield.
Yes.
I already report it here

in some OS version, the program running well.
i think this is one of 4.6 bugs.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.