Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7405733
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T05:26:54+00:00 2026-05-29T05:26:54+00:00

I have a gui that keeps scrolling on the 8520 screen. I have used

  • 0

I have a gui that keeps scrolling on the 8520 screen. I have used setPadding(XYEdges) and setMargin(XYEdges) to remove the spaces around the components on the UI but there’s still space left in between these components. Are there other API calls i can make to remove spaces around components?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T05:26:54+00:00Added an answer on May 29, 2026 at 5:26 am

    You need to consider the following:

    setPadding refers to a boundary inside the border of a field and controls how close the internal content of the field can be to the border.

    setMargin refers to a boundary outside the border of a field and controls how close the field can be to an adjacent field on that edge.

    BUT note that the margins of adjacent fields overlap, so that if field A has it’s right margin set to 0, and right adjacent field B has it’s left margin set to 20, then the two fields will still be placed no closer than 20 pixels apart.

    i.e. you have to take into account the margins set for the edges of all adjacent fields.

    Returning to padding, the same applies for managers if you set their internal padding. This will determine how close to the inside of the manager’s border an included field can be placed.

    Somewhere in the blackberry documentation and/or support forum, there is a document explaining this pictorially, I just can’t find my link to it right now, but will post it here when I find it again.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a GUI that contains several components (combo boxes, textboxes, etc) with their
I have a GUI that is going to do a lot of disparate tasks.
I have a GUI that is issuing commands to a web server based on
I have a fat GUI that it getting fairly complex, and I would like
I have a GUI tool that manages state sequences. One component is a class
I have created a GUI that will setup the pivot table. For example, I
I have a large GUI project that I'd like to port to Linux. What
I have a Windows GUI application that's using the Qt framework (currently version 3.3.5,
Suppose I have a GUI-only application that runs on Windows and I'd like to
I am going to make a GUI that will have dynamically created sets of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.