BlackBerry Forums Support Community

Closed Thread
LinkBack Thread Tools
Old 08-11-2007, 09:32 PM   #1 (permalink)
New Member
Join Date: Aug 2007
Model: 8100
Carrier: AT&T
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Field format question

Please Login to Remove!

I've tried for several hours to find a solution to what is likely a simple problem. I'm having some issues getting an EditField to align the input text to the right. I'm looking to have the EditField label aligned to the left side of the screen and the input text on the right side similar to what the DateField looks like. I've tried several style combinations, but am stuck Below is some of my code that I've tried. Any suggestions are much appreciated.

BasicEditField comp = new BasicEditField("Rate", "", 7, BasicEditField.USE_ALL_WIDTH | BasicEditField.FILTER_REAL_NUMERIC | BasicEditField.FIELD_RIGHT);
                DateField date = new DateField("Date", System.currentTimeMillis(), DateField.DATE);

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