BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 09-05-2008, 01: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, 02: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, 03: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

MICRO SWITCH FIBER OPTIC LIMIT SWITCH SPST FLSV9A
$44.99
MICRO SWITCH FIBER OPTIC LIMIT SWITCH SPST FLSV9A pictureSteute medical foot switch GF SM 10/1S Free S&H
$99.99
Steute medical foot switch GF SM 10/1S Free S&H pictureOutlet Switches Cherry E13-00H 1.5 in. ACTUATOR, 15A125250VAC 34HP125VAC by
$15.73
Outlet Switches Cherry E13-00H 1.5 in. ACTUATOR, 15A125250VAC 34HP125VAC by pictureFurnas Oil Tight Control 52SB2AAB Series B 2 Position Selector Switch NEW
$50.59
Furnas Oil Tight Control 52SB2AAB Series B 2 Position Selector Switch NEW pictureLeviton 54521 Quiet Single Pole Switch 20Amp 120V 277V Brown Toggle AC NEW
$2.29
Leviton 54521 Quiet Single Pole Switch 20Amp 120V 277V Brown Toggle AC NEW picture






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