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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T05:06:53+00:00 2026-05-28T05:06:53+00:00

I want to specify that the size is 200dlu < preferred component size <

  • 0

I want to specify that the size is 200dlu < preferred component size < 600dlu

It’s a basic three-column layout, where the middle column will be empty sometimes, but other times may have a very long string in it (file paths etc.).

I’m using this currently as my column spec: “pref, max(200dlu;pref):grow, pref”

But that doesn’t work really well when the content of a textfield in the middle column is very large – it can grow past the size of the screen. Even if it doesn’t outgrow the screen, it just looks silly and awkward if it goes really big on large screens. I don’t want to use a scrollbar – I just want a nice sensible default size for the column and the user (me, actually) can deal with the awkward textfield content scrolling mechanics if absolutely necessary.

To paraphrase:
– if the text field wants to be really small, then I want the column to be 200dlu
– if the text field wants to be really big, then I want the colum to be 600dlu
– otherwise, just let the column be the preferred size of the text field

The doco of the JFormsDesigner product seems to imply that you can do this when it’s using JGoodies FormLayout as the layout manager (but I don’t like graphical layout manager tools, I just want to use the formlayout language).

  • 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-28T05:06:54+00:00Added an answer on May 28, 2026 at 5:06 am

    So the answer to this is to use a column spec like: “pref, [200dlu,pref,600dlu]:grow, pref”

    My problem was that the environment I was using (IntelliJ IDEA plugin devkit) has a very old version of JGoodies included. All I had to do was package my own copy of the latest version of the lib and the above spec works like a charm.

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

Sidebar

Related Questions

I want to specify that either fieldname or freetext must always be present in
I have a Java WebStart application for which I want to specify that the
I want to let users specify a date that may or may not include
I want to specify an enumeration size of 64 bits for an enumeration. How
Is there a way in .htaccess to specify a minimum file size that mod_deflate
I want to specify a file system path as part of a Spring bean
I want to specify an argument in an attribute, like this: [OutputCache(Duration = GlobalSettings.GlobalVar)]
I want to specify a project to be opened when I launch Delphi(D2010). Is
I have a base class in which I want to specify the methods a
I have a custom behavior for a service where I want to specify a

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.