BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 09-06-2010, 09:07 AM   #1 (permalink)
New Member
 
SergioTapia's Avatar
 
Join Date: Aug 2010
Model: 7100T
PIN: N/A
Carrier: asdfasdf
Posts: 12
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Fields not floating to the right where I want them to be.

Please Login to Remove!

Code:
/** BEGIN TEXT INPUT AMOUNT **/
VerticalFieldManager hfm = new VerticalFieldManager(USE_ALL_WIDTH);
CustomTextField txtAmount = new CustomTextField(50, 20);
txtAmount.setText("0.00");

hfm.add(new RichTextField("Amount: ", FIELD_RIGHT));
hfm.add(txtAmount);			
txtAmount.setFocusListener(focusListener);
add(hfm);
chbExternalExpense = new CheckboxField("External Expense?", false,
		Field.FIELD_RIGHT);
add(chbExternalExpense);
/** END TEXT INPUT AMOUNT **/
Using the above code I would expect the RichTextField to float to the right but it doesn't. Granted the txtAmount doesn't have the style set yet, but the RichTextField SHOULD.

Here is a picture of how it looks:

imgur[DOT]com/6HUYG.png
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

TEKTRONIX 7A18 DUAL TRACE AMPLIFIER
$9.99
TEKTRONIX 7A18 DUAL TRACE AMPLIFIER pictureTEKTRONIX 11A34 4 CHANNEL AMPLIFIER
$9.99
TEKTRONIX 11A34 4 CHANNEL AMPLIFIER pictureTEKTRONIX 7A18 DUAL TRACE AMPLIFIER
$9.99
TEKTRONIX 7A18 DUAL TRACE AMPLIFIER pictureRDP Electronics S7AC Transducer Amplifier 12V-36VDC Supply Voltage 3VA Mod 4
$79.99
RDP Electronics S7AC Transducer Amplifier 12V-36VDC Supply Voltage 3VA Mod 4 pictureBALDOR SERVO DRIVE # VE0667A03
$1295.0
BALDOR SERVO DRIVE # VE0667A03 picture






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