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

Docooler Temperature Controllers Digital Thermocouple With Sensor
$11.0
Docooler Temperature Controllers Digital Thermocouple With Sensor pictureALTEK Universal Thermocouple Calibrator model 422
$755.0
ALTEK Universal Thermocouple Calibrator model 422 picture 6.7mm thread k type thermocouple temperature measurement sensor
$11.03
 6.7mm thread k type thermocouple temperature measurement sensor picture1PCS Thermocouple Amplifiers IC ANALOG DEVICES CDIP-14 AD595CQ
$6.99
1PCS Thermocouple Amplifiers IC ANALOG DEVICES CDIP-14 AD595CQ picture1PCS Thermocouple Amplifiers IC ANALOG DEVICES CDIP-14 AD595AQ
$7.99
1PCS Thermocouple Amplifiers IC ANALOG DEVICES CDIP-14 AD595AQ picture






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