Return-Path: X-Original-To: apmail-pivot-user-archive@www.apache.org Delivered-To: apmail-pivot-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A01C77869 for ; Mon, 1 Aug 2011 04:44:43 +0000 (UTC) Received: (qmail 50757 invoked by uid 500); 1 Aug 2011 04:44:39 -0000 Delivered-To: apmail-pivot-user-archive@pivot.apache.org Received: (qmail 50565 invoked by uid 500); 1 Aug 2011 04:44:18 -0000 Mailing-List: contact user-help@pivot.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@pivot.apache.org Delivered-To: mailing list user@pivot.apache.org Received: (qmail 50542 invoked by uid 99); 1 Aug 2011 04:44:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Aug 2011 04:44:10 +0000 X-ASF-Spam-Status: No, hits=1.6 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of aryzhov07@gmail.com designates 209.85.212.54 as permitted sender) Received: from [209.85.212.54] (HELO mail-vw0-f54.google.com) (209.85.212.54) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Aug 2011 04:44:01 +0000 Received: by vws18 with SMTP id 18so5514566vws.13 for ; Sun, 31 Jul 2011 21:43:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=PbNpy4BvMB9cBqlmJeYRiTFbPne4t4LcTomB19R/MJs=; b=B+xYKux3FOnNP3dHSRX5/KCFX6Z5PcTknd5JjcmMKBaJpxg+qhMf+4Cnl/vvVHFw+S fnLq23ULa9/9io4lba9y9gZ8J9cdr47ABe9sMxLpdLccEFdu87KVlwLaRNQc3FCfvXon VtSOfrKGVLlE3T5YZ0RS95q2q7lbiQhDV4oSk= MIME-Version: 1.0 Received: by 10.52.19.161 with SMTP id g1mr3921508vde.11.1312173820972; Sun, 31 Jul 2011 21:43:40 -0700 (PDT) Received: by 10.52.187.104 with HTTP; Sun, 31 Jul 2011 21:43:40 -0700 (PDT) Date: Sun, 31 Jul 2011 21:43:40 -0700 Message-ID: Subject: BorderLayout From: Alex Ryzhov To: user@pivot.apache.org Content-Type: multipart/alternative; boundary=20cf307c9c2e7b8e6804a96a4644 X-Virus-Checked: Checked by ClamAV on apache.org --20cf307c9c2e7b8e6804a96a4644 Content-Type: text/plain; charset=ISO-8859-1 This is my first message to the user group and I'd like to thank the Pivot team for a great Swing successor. Now to the topic: It appears that there is no equivalent of BorderLayout in Pivot. I tried BoxPane, TablePane but they aren't equivalent. For example, I'd like component A at the top and B in the center - can't do that. I was able to write my own component which I called FillPane. It accepts 2 children and puts one of them at the specified side (TOP, RIGHT, BOTTOM, or LEFT), and the other one in the center. Using this primitive component I can simulate BorderLayout. Do you think this is something that could make its way into the library? Thanks, Alex --20cf307c9c2e7b8e6804a96a4644 Content-Type: text/html; charset=ISO-8859-1 This is my first message to the user group and I'd like to thank the Pivot team for a great Swing successor. Now to the topic:

It appears that there is no equivalent of BorderLayout in Pivot. I tried BoxPane, TablePane but they aren't equivalent. For example, I'd like component A at the top and B in the center - can't do that. I was able to write my own component which I called FillPane. It accepts 2 children and puts one of them at the specified side (TOP, RIGHT, BOTTOM, or LEFT), and the other one in the center. Using this primitive component I can simulate BorderLayout. Do you think this is something that could make its way into the library?

Thanks,
Alex --20cf307c9c2e7b8e6804a96a4644--