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

  • Home
  • SEARCH
  • 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 8658035
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T15:40:07+00:00 2026-06-12T15:40:07+00:00

When i add a Form to LWUIT using form.show(), the form is not set

  • 0

When i add a Form to LWUIT using form.show(), the form is not set exactly in the (0,0) coordinate, it’s leaving like 20 pixels in the top and 3 on the left.

I’m developing for the Nokia SDK 1.1 FYI and i’m using their version of LWUIT

Let me know if there is a workaround on this.

Cheers!
Alberto

EDIT:

Here is how i’m creating the Form

Display.init(this);
this.view = new Form();
this.view.setLayout(new CoordinateLayout(Display.getInstance().getDisplayWidth(), Display.getInstance().getDisplayHeight()));
this.view.setScrollableY(false);
this.view.show();

This shows a padding on the top and on the left side (Bigger on the top than on the left side)

See a screen shot:

Look at the top margin of the form and left margin of the photo

  • 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-06-12T15:40:08+00:00Added an answer on June 12, 2026 at 3:40 pm

    Found the 2 Issues:

    1) I had to set the titleArea padding and margins to 0 like this:
    this.view.getTitleArea().getStyle().setMargin(0, 0, 0, 0);
    this.view.getTitleArea().getStyle().setPadding(0, 0, 0, 0);
    this.view.revalidate();

    2) For the left padding, it was in the label where i was placing the photo, so just changing it’s style (padding) to 0 made the trick

    Cheers,

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

Sidebar

Related Questions

After reading this post: using javascript to add form fields.. but below, not to
I have a lwuit form. I wish to add my command to the right
I am trying to set a custom title for a node add form in
I am using the below line to check my add user form to check
I'm using Zend forms. I have a form to add a row to a
I'm using jQuery to dynamically add form elements to a web form. Users can
Using iTextSharp to add form fields to pdf files, then saving them as new
I am trying to dynamically add form controls to a gui I'm developing in
I am making a news add form using post method. In the second page
Different texts for edit and add form for Save button are specified using bSubmit.

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.