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 653644B59 for ; Mon, 6 Jun 2011 18:48:45 +0000 (UTC) Received: (qmail 25368 invoked by uid 500); 6 Jun 2011 18:48:45 -0000 Delivered-To: apmail-pivot-user-archive@pivot.apache.org Received: (qmail 25349 invoked by uid 500); 6 Jun 2011 18:48:45 -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 25341 invoked by uid 99); 6 Jun 2011 18:48:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jun 2011 18:48:45 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [195.159.29.9] (HELO mailstore05.sysedata.no) (195.159.29.9) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jun 2011 18:48:36 +0000 Received: from [212.251.228.94] (helo=[10.0.1.190]) by mailstore05.sysedata.no with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1QTeqV-0005Ar-TZ for user@pivot.apache.org; Mon, 06 Jun 2011 20:48:15 +0200 Message-ID: <4DED20F3.3040507@sysedata.no> Date: Mon, 06 Jun 2011 20:48:19 +0200 From: Edvin Syse User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; nb-NO; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: user@pivot.apache.org Subject: TextInput won't strech to fill it's parent Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I have a Form where I want the TextInputs to fill the space horizontally. From looking at the code in TerraTextInputSkin, it seems like it only cares about textSize, and not the surrounding container's layout (Judging from getPreferredSize). I tried putting it in both a GridPane and a TablePane, but still it will only stretch when I set the textSize. Is this as expected, and is there a workaround? If I set a large textSize, the TextInput behaves kind of like overflow:hidden in CSS. -- Edvin