BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 03-08-2009, 12:16 PM   #1 (permalink)
New Member
 
Join Date: Sep 2008
Model: 8310
PIN: N/A
Carrier: Telefonica
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy How to remove the blank spaces between the fields in the Custom Button Field Example

Please Login to Remove!

Hello everybody.

I'm trying to develop an application but I have a problem that I could not solve. And its that I dont know how to remove the blank space between each field in the example "CustomButtonsDemo.java" I tried everything. Help.

Im only using the class "PictureBackgroundButtonField.java" and not the class "CustomButtonField.java" because I only want create a custom button with a Bitmap as its background.
Offline  
Old 03-09-2009, 02:10 AM   #2 (permalink)
Thumbs Must Hurt
 
Join Date: Jan 2007
Location: Ernakulam, Kerala, India
Model: 8320
Carrier: Airtel
Posts: 65
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Jag

As far I understand, you need to layout the ButtonFields, It'll resolve your problem. For layout you should override the method sublayout for the manager which you are using to add the fields, It may be the MainScreen, or VerticalFieldManager or HorizontalFieldManager etc.
__________________
Regards
Anand.
Offline  
Old 03-10-2009, 09:56 AM   #3 (permalink)
New Member
 
Join Date: Sep 2008
Model: 8310
PIN: N/A
Carrier: Telefonica
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi, Ananthasivan the problem was solved, I was using the vertical field manager but the problem was that the code of the example was a Nonfocusable Field between the focusable fields. I eliminate the Nonfocusable field and that was all.
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

GG13: DELL OEM Laptop Charger AC/DC Adapter PA-12 P/N F8834 ADP-65JB B
$14.99
GG13: DELL OEM Laptop Charger AC/DC Adapter PA-12 P/N F8834 ADP-65JB B pictureOEM BULB with Housing for DELL 330-6581 Projector with 180 Day Warranty
$124.0
OEM BULB with Housing for DELL 330-6581 Projector with 180 Day Warranty pictureEE8: Dell Genuine AC Adapter OEM PA-10 Family DF266 LA90PS0-00 ADP-90AH
$15.99
EE8: Dell Genuine AC Adapter OEM PA-10 Family DF266 LA90PS0-00 ADP-90AH pictureEE12: Genuine OEM DELL 0RC343 RC343 AC ADAPTER POWER CHARGER
$11.99
EE12:  Genuine OEM DELL 0RC343 RC343 AC ADAPTER POWER CHARGER pictureDELL 725-BBBQ Lamp manufactured by DELL
$152.29
DELL 725-BBBQ Lamp manufactured by DELL picture






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