BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 07-10-2008, 06:14 PM   #1 (permalink)
New Member
 
Join Date: Mar 2008
Model: 8800
PIN: N/A
Carrier: att
Posts: 5
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default ObjectChoiceField alignment problem in JDE 4.5.0

Please Login to Remove!

Hi all,

I have the below code which output an ObjectChoiceField which is align to the right. It is working fine in JDE 4.2.1 and 4.3.0. However, when I try it on 4.5.0, it doesn't align correctly. The ObjectChoiceField will still align to the left, does anyone know what the problem is?

TIA!


public class TestScreen extends MainScreen
{
public TestScreen()
{
super();

FlowFieldManager bottomFM = new FlowFieldManager(USE_ALL_WIDTH);

String projectChoices[] = {"11th Street Painting", "12th Street Office", "1st Ave Restaurant"};
ObjectChoiceField projectDDF = new ObjectChoiceField("Project: ", projectChoices, 0, Field.FIELD_RIGHT | Field.USE_ALL_WIDTH | EDITABLE);
bottomFM.add(projectDDF);

this.add(bottomFM);
}
}
Offline  
Old 07-27-2008, 09:08 AM   #2 (permalink)
New Member
 
Join Date: Oct 2006
Location: Ukraine
Model: none
Carrier: UMC
Posts: 7
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

As for me, ObjectChoiceField breaks alignment in JDE 4.0.2 and 4.3.0.
If it's in a Manager, Manager loses ability to contain fields with different alignments.
(see developer-forum/136012-how-do-i-right-align-editfield.html)
Maybe an own Manager will help, I didn't try in yet.
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

650pcs TVS Diodes - Transient Voltage Suppressors 1500W 10V Bidirect 7a
$21.38
650pcs TVS Diodes - Transient Voltage Suppressors 1500W 10V Bidirect 7a picture4666pcs TCZM4735AR13 6.2V 1W SILICON UNIDIRECTIONAL VOLTAGE REGULATOR DIODE 7c
$19.97
4666pcs TCZM4735AR13 6.2V 1W SILICON UNIDIRECTIONAL VOLTAGE REGULATOR DIODE 7c picture20PCS XC6206P332MR 3.3V SOT-23 TOREX LDO Voltage Regulator M
$0.2
20PCS XC6206P332MR 3.3V SOT-23 TOREX LDO Voltage Regulator M pictureI2R Therm-O-Watch Thermowatch L7-1100B Variable Output Voltage Controller 1000W
$49.99
I2R Therm-O-Watch Thermowatch L7-1100B Variable Output Voltage Controller 1000W picture10PCS 4.5V-7V to 3.3V AMS1117-3.3V Power Supply Module AMS1117-3.3 D
$1.69
10PCS 4.5V-7V to 3.3V AMS1117-3.3V Power Supply Module AMS1117-3.3 D picture






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