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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T23:24:36+00:00 2026-06-08T23:24:36+00:00

I use a grid layout of 2 rows and 6 column. the first column

  • 0

I use a grid layout of 2 rows and 6 column. the first column is a label and second is combo. My problem is

according to the size of the label the combo box size also increases.
i want a stable size for combo? which layout should i use?
I want a design like

*label1: combo1 label2: combo2 label3: combo3
label4: text1 label5: text2 label6: text3 *

  • 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-08T23:24:38+00:00Added an answer on June 8, 2026 at 11:24 pm
    1. for GridLayout you can use JComboBox#setPrototypeDisplayValue, then you can to set initial size for JComboBox on the screen very confortly

    2. you can to use SpringLayout or GridBagLayout

    3. use todays custom LayoutManagers as MigLayout is for example

    4. notice about to choose the proper LayoutManager, everything depends of if the contents should or shouldn’t be resizable with container

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

Sidebar

Related Questions

For WPF/Silverlight layout, is it better to use a Grid with lots of rows
I use consomcontrols.grid on asp.net.I have a width problem specially on IE on page.
in my first ExtJs4 project i use a editable grid with the feature rowbody
How do you use grid bag layout? What does it mean with all of
I am new to MVVM/WPF and know how to use Grid and StackPanel layout
I have a relatively complex layout. It consists of: A grid with one column
I want to use the 960 grid system to generate the layout for my
I have use the mx:Grid layout component to layout some form elements in a
Trying to use pil for creating grid-like layout from images. But that code only
I use a grid view that gathers several check boxes. The grid view is

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.