Return-Path: Delivered-To: apmail-incubator-pivot-user-archive@minotaur.apache.org Received: (qmail 59774 invoked from network); 20 Nov 2009 15:11:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Nov 2009 15:11:12 -0000 Received: (qmail 3433 invoked by uid 500); 20 Nov 2009 15:11:12 -0000 Delivered-To: apmail-incubator-pivot-user-archive@incubator.apache.org Received: (qmail 3407 invoked by uid 500); 20 Nov 2009 15:11:12 -0000 Mailing-List: contact pivot-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: pivot-user@incubator.apache.org Delivered-To: mailing list pivot-user@incubator.apache.org Received: (qmail 3398 invoked by uid 99); 20 Nov 2009 15:11:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Nov 2009 15:11:11 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of tvolkert@gmail.com designates 216.239.58.188 as permitted sender) Received: from [216.239.58.188] (HELO gv-out-0910.google.com) (216.239.58.188) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Nov 2009 15:11:01 +0000 Received: by gv-out-0910.google.com with SMTP id c6so577828gvd.17 for ; Fri, 20 Nov 2009 07:10:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=50jYbDZA6c+jRce4hl0WKzCSy/TNrKcnCHxNgYfZcGQ=; b=vpMw+rcw3oLOX0Ald0WUi5ACeXUCkBgUIE9cq8WyfPfcDJI9XBu6hQsUGp51XKs5GL FXk3DRdsKLEhM1h63mD1ZYpIAZyp90aGxCcf3EpWiIqRfP48nPGaQJZlc4DK0vQzpjUt oaiPsIf2bAwGR8cRnmqRRDTeX0CeNFhHO6i3A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=SoC0rQcvMhxicrjKQhK6Wr8mGA4ZFmIzjGJZtyfLaEAAmhIMSrMq0FzGdR5zmuQkVh uyzVjrUMzP+IG0TIeA1jF55DpjIeBZVYWHWwf+4KpzgKE2uxl0+eN5TmQYjIsDnRqV3d g4VFjaxtFy6VdGAYLQiUwI7pvM11+ddxt3eX8= MIME-Version: 1.0 Received: by 10.239.168.131 with SMTP id k3mr153979hbe.101.1258729840233; Fri, 20 Nov 2009 07:10:40 -0800 (PST) In-Reply-To: <62b7cb8a0911200701l1bfec8e1p5eaf7ab968d2110a@mail.gmail.com> References: <62b7cb8a0911200701l1bfec8e1p5eaf7ab968d2110a@mail.gmail.com> Date: Fri, 20 Nov 2009 10:10:40 -0500 Message-ID: <168ef9ac0911200710s4fecbc5dkfd0f23ed57817a2e@mail.gmail.com> Subject: Re: Making a Menu Bar Fill Remaining Horizontal Space From: Todd Volkert To: pivot-user@incubator.apache.org Content-Type: multipart/alternative; boundary=00163646be84fece240478cee039 X-Virus-Checked: Checked by ClamAV on apache.org --00163646be84fece240478cee039 Content-Type: text/plain; charset=ISO-8859-1 Hi Bob, Try maximizing the window, like so: wrote: > Hi All! > > I'm working on a sample app using Pivot and what I want to do is create a > Menu Bar, an Edit Window right below the Menu Bar and possibly a Status Bar > below the Edit Window. So basically they are three boxes laid out > vertically. I'm on the first part where I am creating the Menu Bar it > compiles and executes correctly but it does not look right since a Menu Bar > should in relation with what layout I want should fill out the remaining > horizontal space but doesn't. I've used TablePane with one column and > width=1* as suggested in the mailing list archives. > > Here's the WTKX file for your reference: http://pastebin.com/f3159ebaf > > I tried to include the code here but the first time I sent this, it > exceeded 5.0 spam score so it was not accepted. > By the way I also tried using a parent BoxPane with vertical orientation > and fill:true and then BoxPane with horizontal orientations and fill:true > where I put the Menu Bar. > > Thanks and Regards, > > Bob > --00163646be84fece240478cee039 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Bob,

Try maximizing the window, like so:

<Window title= =3D"Hello Pivot"
=A0=A0=A0 maximized=3D"true"
=A0= =A0=A0 ....

Right now, since the window isn't maximized, it'= s getting set to its preferred size, which is just as big as it needs to be= to accomodate the menu bar.=A0 When you maximize it, it will occupy the en= tire space of the native frame.

-T

On Fri, Nov 20, 2009 at 10:01 AM, = Bob Santos <= bob.santosjr@gmail.com> wrote:
Hi All!

I'm working on a sample app using Pivot and what I want = to do is create a Menu Bar, an Edit Window right below the Menu Bar and pos= sibly a Status Bar below the Edit Window. So basically they are three boxes= laid out vertically. I'm on the first part where I=A0 am creating the = Menu Bar it compiles and executes correctly but it does not look right sinc= e a Menu Bar should in relation with what layout I want should fill out the= remaining horizontal space but doesn't. I've used TablePane with o= ne column and width=3D1* as suggested in the mailing list archives.

Here's the WTKX file for your reference: http://pastebin.com/f3159ebaf

= I tried to include the code here but the first time I sent this, it exceede= d 5.0 spam score so it was not accepted.
By the way I also tried using a parent BoxPane with vertical orientation an= d fill:true and then BoxPane with horizontal orientations and fill:true whe= re I put the Menu Bar.

Thanks and Regards,

Bob

--00163646be84fece240478cee039--