Article View: borland.public.jbuilder.java.api
Article #1766Re: Make room for my buttons!
From: Rob
Date: Thu, 27 Sep 2001 04:36
Date: Thu, 27 Sep 2001 04:36
31 lines
1789 bytes
1789 bytes
Found the problem - my generated code used Frame.setsize() rather than Frame.pack() Rob "Rob" <"relaxedrob@optushome.com.au"> wrote in message news:3bb2abf0_1@dnews... > Howdy all! > > I am working with a small gui - I have a Frame with a tabbed pane on top of it. > > On the first tab, I have a border layout with two panels - one in the centre to > do the main job of the tab and the second in the south to hold some buttons. > > My problem is that I have five buttons - when I use a gridlayout with five cells > they do not display properly because the names of the last two buttons are too > long. When I try a flowlayout instead it drops the last button to a second row. > > Now I realise that setting minimum size values are only used as suggestions - so > how do I .. mm... suggest.. that java keep my buttons on the one line? > > Thanks! > > Rob > >
Technical Details
Message-ID:
<3bb2ad65$1_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!btnet-peer0!btnet-peer!btnet!newsfeed.wirehub.nl!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnewsReferences:
<3bb2abf0_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,5c3fa3ba400293df X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2001-09-26 21:42:43 PST From: "Rob" <"relaxedrob@optushome.com.au"> Newsgroups: borland.public.jbuilder.java.api References: <3bb2abf0_1@dnews> Subject: Re: Make room for my buttons! Date: Thu, 27 Sep 2001 14:36:23 +1000 Lines: 33 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 NNTP-Posting-Host: 203.164.96.29 Message-ID: <3bb2ad65$1_1@dnews> X-Trace: dnews 1001565541 203.164.96.29 (26 Sep 2001 21:39:01 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!btnet-peer0!btnet-peer!btnet!newsfeed.wirehub.nl!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews