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 8664803
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T17:19:48+00:00 2026-06-12T17:19:48+00:00

I am trying to build a really simple UI with CodeName One . I

  • 0

I am trying to build a really simple UI with CodeName One. I want a rectangular screen (to display image) and a button below it.
I can’t find anything like a panel for the rectangular screen, so I just put a label.

The hierarchy is shown below:

  • Container (TableLayout, 3 rows and 1 column)

The components inside the container are: container:

  • Label (row=0, column=0, vertical span = 2)
  • Button (row=2,column=0, vertical span=1)

Since vertical span of Label is 2, should not it occupy two rows? However, its visible height is same as 1 row. What is wrong?

What is the equivalent for panel (to show images) in this API?
Is there a good tutorial for TableLayout managers?
I am familiar with JGoodies, can I use JGoodies with this API?

  • 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-12T17:19:49+00:00Added an answer on June 12, 2026 at 5:19 pm

    Gave an answer for this here

    Pasting here for completeness:

    That’s a really simple layout, you shouldn’t use table layout for this at all.

    For the single column just set the parent to BorderLayout and place a Label for the white panel in the center and the button at the south.

    For the two column layout you can again use border layout, in the center place a component with a two column/one row grid layout. Place two labels for the panels.
    Do the same for the south by placing a Container with a two column grid layout and two buttons.

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

Sidebar

Related Questions

I am trying to build a simple twitter timeline feature into one of my
I'm trying to build a really simple form to help me out typing comments
I'm trying to build a really simple generic toggle functionality where the toggling switch
Here's a really simple question. I have wordpress 3.4.2 installed. I'm trying to build
I am trying to build a really simple NSTextField with Interface Builder (XCode 4),
I'm trying to build a really simple php controller page for a small site.
I'm trying build a method which returns the shortest path from one node to
I am trying to build this very simple (visually speaking) layout using HTML/CSS that
I'm trying to build a simple website with login functionality very similar to the
I'm trying to build a simple scheduler using Quartz.NET, but when I try to

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.