Article View: borland.public.jbuilder.java.swing
Article #9013Re: Change Default GridBag Settings?
From: Joe Cunningham
Date: Wed, 31 May 2000 00:00
Date: Wed, 31 May 2000 00:00
53 lines
2758 bytes
2758 bytes
Perhaps hours was stretching it, but even using the editor in the manner you describe takes time. On almost all of the screens I am working on, I almost never want to do a Horizontal fill and it would be great to set that once and forget it. Perhaps a future feature? Joe "Paul Furbacher [TeamB]" <pnf@home.com> wrote in message news:39347B0B.DF49CFE0@home.com... > Joe Cunningham wrote: > > > Is there some way to change the way JBuilder implements a GridBagLayout? > > Not that I know of. However, are you using the GridBagLayout (GBL) > constraints editor to its maximum advantage? Activate it by selecting > a component and right-clicking, not via the Property Inspector. Then, > either Ctrl-click on additional components that you want to share the > same setting, say Fill. Then, set the desired Fill and press "Apply". > > Continue in this manner of Ctrl-select, or Ctrl-unselect, setting > sub-properties in common. > > I frequently do this when, for example, I want to line up a bunch > of labels with x pixel right margin, anchored to the EAST, etc. > "Apply", followed by a quick Ctrl-unselect of the labels, and a Ctrl-select > of all the entry boxes to WEST anchors, "Apply", and a lot alignment work > is finished without ever closing the GBL constraints editor. > > You can spend a lot of time tweaking, but even on really complex > layouts, > I don't feel as though I've wasted innumerable hours. What seems to take > more time is figuring out just where that occasional invisible spacer > panel > is needed to fine-tune the behavior when a frame is resized. > > > Paul Furbacher (TeamB) > > > > For example, when in 'null' layout mode and I then switch to GridBagLayout, > > is there anyway I can stop JBuilder from making all my components default to > > a Fill Horizontal for a GridBagConstraint? I am wasting innumerous hours > > switching this back and forth for each component after I have to monkey with > > the GridBag to expand properly or line up with other components (sometimes > > the designer is not so accurate). Any help would be great ... > > > > I am using JBuilder Pro 3.500.24.0 on a Windows NT 4.0, sp6
Technical Details
Message-ID:
<39355366@dnews>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<393447da@dnews> <39347B0B.DF49CFE0@home.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,5ec98bc69da452fe X-Google-Attributes: gid111d45,public From: "Joe Cunningham" <joseph_cunningham@yahoo.com> Subject: Re: Change Default GridBag Settings? Date: 2000/05/31 Message-ID: <39355366@dnews> X-Deja-AN: 629555455 References: <393447da@dnews> <39347B0B.DF49CFE0@home.com> X-Trace: 31 May 2000 11:01:10 -0800, 209.31.227.106 X-MSMail-Priority: Normal X-Priority: 3 Newsgroups: borland.public.jbuilder.java.swing X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600