From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MufRk-0004Lq-Bz for mharc-grub-devel@gnu.org; Mon, 05 Oct 2009 00:45:16 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MufRh-0004Lj-Hj for grub-devel@gnu.org; Mon, 05 Oct 2009 00:45:13 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MufRc-0004LX-TM for grub-devel@gnu.org; Mon, 05 Oct 2009 00:45:12 -0400 Received: from [199.232.76.173] (port=37742 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MufRc-0004LU-Q7 for grub-devel@gnu.org; Mon, 05 Oct 2009 00:45:08 -0400 Received: from mail-pz0-f178.google.com ([209.85.222.178]:45443) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MufRc-00076a-E4 for grub-devel@gnu.org; Mon, 05 Oct 2009 00:45:08 -0400 Received: by pzk8 with SMTP id 8so1413929pzk.8 for ; Sun, 04 Oct 2009 21:45:07 -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=5Cx1fpPoa4p2jGSZ8BdDEeBmsO+i9bwmgiv5ayAk+xs=; b=AUQigXfTnzZfGnmBJovf+JtkabIYldd5f9oA8alc+KGnZB3/kMhcrWa6WQ9AxgxVuG VUBxy5vs4AA/SBuxrR1H4TvSDhH6l5PUJ5AI7tWYL6ZPco2IB17jLpNXbeaREe/lW27f ZRyrcJxMjiThhVFuq95yjz1DNq6Yhdy4yFAFE= 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=U8rJZsyYnAy8IwH41o1k7Ui4xm1RjLBbqoTEMLl0Vp4Ikw3dEkso4xEGh4nvRCLkH+ FVF674HR3F0jaD5oou38C+IoJvBEr2dC4ZOhARb0+zVOkR1Tz0/N3G8yPfoICIAqMOQ+ iKkogBwFD0xHallmCY+o1C7N0yzwGq5nBjt8A= MIME-Version: 1.0 Received: by 10.141.41.18 with SMTP id t18mr373491rvj.264.1254717907485; Sun, 04 Oct 2009 21:45:07 -0700 (PDT) In-Reply-To: References: <2e59e6970910040906o4cd536bancb2655c7301d69ec@mail.gmail.com> Date: Mon, 5 Oct 2009 12:45:07 +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: Mon, 05 Oct 2009 04:45:14 -0000 On Mon, Oct 5, 2009 at 6:20 AM, Michal Suchanek wrote: > Hello > > I tried to get some borders into the previous demo but I got overlapping panels. > > This should not happen because it is not supported. That's what the > layout manager is for. Hi, I think you misunderstand the meaning of margin_* properties. It means that the widget is always at a constant distance from parent widget. Once it's set, their position is fixed, it's not subject to the layout manger. This is used to create sticky panels like docks. For example: panel { panel { id="aa" margin_bottom=0 } panel { id="bb" } panel { id="cc" } panel { id="dd"} } aa's location is fixed, bb, cc and dd's location is calculated by the panel, they can overlap with aa. The sticky panel also doesn't move when view port is scrolled to display active item. -- Bean gitgrub home: http://github.com/grub/grub/ my fork page: http://github.com/bean123/grub/