BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 03-29-2010, 01:48 PM   #1
kotman
New Member
 
Join Date: Mar 2010
Model: Bold
PIN: N/A
Carrier: WIFI
Posts: 5
Default change the origin of the screen

Please Login to Remove!

how to change the origin of the MainScreen ?
from (0,0) to (0,10) ?
Offline  
Old 03-29-2010, 02:40 PM   #2
jacob.tabak
Knows Where the Search Button Is
 
Join Date: Mar 2010
Model: N/A
PIN: N/A
Carrier: Fledge
Posts: 43
Default

Cannot be done directly with a mainscreen. You have two options:
1) Add a custom manager to the mainscreen that sets the position of child fields starting at 0,10 instead of 0,0.
2) Create a custom screen and override sublayout(int width, int height) to call layoutDelegate and setPositionDelegate
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Karcher Commodore Due Walk Behind Carpet Extractor #1.008-004.0 picture

Karcher Commodore Due Walk Behind Carpet Extractor #1.008-004.0

$9900.00



Jelenko Commodore LS VPF with Pump  picture

Jelenko Commodore LS VPF with Pump

$875.00



Vintage Printer Switch box Commodore 64/Sanyo Mountable Computer PC picture

Vintage Printer Switch box Commodore 64/Sanyo Mountable Computer PC

$49.00



Windsor Commodore Duo 20

Windsor Commodore Duo 20" Carpet extractor w/Lester Charger 25900/Battery/99hour

$3595.95



Sid Harveys Becket Commodore Rebuilt Motor A140-1R 1/8HP CCW 115V 1725 RPM picture

Sid Harveys Becket Commodore Rebuilt Motor A140-1R 1/8HP CCW 115V 1725 RPM

$31.99



Rare Untested Vintage Commodore 9R-23 Pocket Calculator, Manual & Case picture

Rare Untested Vintage Commodore 9R-23 Pocket Calculator, Manual & Case

$19.95







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