BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 03-08-2009, 01: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, 03: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, 10: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





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