Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MwHrK-0003Gq-KW for mharc-grub-devel@gnu.org; Fri, 09 Oct 2009 11:58:22 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MwHrI-0003Gd-GI for grub-devel@gnu.org; Fri, 09 Oct 2009 11:58:20 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MwHrD-0003Fp-JW for grub-devel@gnu.org; Fri, 09 Oct 2009 11:58:19 -0400 Received: from [199.232.76.173] (port=33044 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MwHrD-0003Fm-CA for grub-devel@gnu.org; Fri, 09 Oct 2009 11:58:15 -0400 Received: from mail-pz0-f181.google.com ([209.85.222.181]:51248) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MwHrC-0004QY-Ew for grub-devel@gnu.org; Fri, 09 Oct 2009 11:58:14 -0400 Received: by pzk11 with SMTP id 11so5231456pzk.14 for ; Fri, 09 Oct 2009 08:58:13 -0700 (PDT) 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=2KqfxH0lzqBriHocCdCLH013CICp+Y73Nz6F8GqQJ/g=; b=jjaw/IrIQTh+RVYD3fQQ3RlYU+UFLxWdrVSsiABxdqxKVjvbTBf+RI9w7CTt3ShSKE 1eDVwZUbnHiDaZ4Gghw5iCQeKcuaqBfOD8vnVpekFLbh5Rp3UlqVpgz8hhLzqXEPlyLK q2JptnWbCW+1QsP78ti/bq07hsuqnDRhYJNhY= 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=f8RQuu2TYCv+SWFy5k5QuW8UEwTyfV4OOB5eLihlZ6W5s5Bw9Xe3eXPEGeLtCZbLWh bpjAX8LJGhJw/2unjsH6oHI7pyFsvwmiMvypXJm2Uhlig4++oa39sEM5EyY1TEp3Mcjv yx7XHHTxfdbUdycO/KL9HvhslzztvzZ6owHKw= MIME-Version: 1.0 Received: by 10.141.43.9 with SMTP id v9mr261452rvj.75.1255103893438; Fri, 09 Oct 2009 08:58:13 -0700 (PDT) In-Reply-To: References: Date: Fri, 9 Oct 2009 23:58:13 +0800 Message-ID: From: Bean To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: [GITGRUB] New menu interface (implementation) X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Oct 2009 15:58:20 -0000 Hi, Update: Change extend property, now it should be set in the children widget, for example, to draw a toolbar: screen { direction = bottom_to_top panel { class = frame } panel { direction = left_to_right extend = 1 panel { extend = 1 class = frame } panel { extend = 1 class = frame } } } You can also use valign/halign to adjust the position of children widget, default value is extend. Replace border_width/border_height with border_left/border_right/border_top/border_bottom. To set all borders to the same size, use border_size. You can also use border_size to set a default value and then overwrite some of the borders using border_left/border_right/border_top/border_bottom. Add margin_size and padding_size, the usage is very similar to border_*. Rename style property to class. -- Bean gitgrub home: http://github.com/grub/grub/ my fork page: http://github.com/bean123/grub/