From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Sun Yijiang Newsgroups: gmane.emacs.devel Subject: Problem with change of toolbar's margin Date: Wed, 8 Dec 2004 16:33:00 +0800 Message-ID: <5065e29004120800333741dff0@mail.gmail.com> Reply-To: Sun Yijiang NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1102494872 30203 80.91.229.6 (8 Dec 2004 08:34:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 8 Dec 2004 08:34:32 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 08 09:34:28 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CbxHH-0000Ua-00 for ; Wed, 08 Dec 2004 09:34:27 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CbxR7-0000XP-NK for ged-emacs-devel@m.gmane.org; Wed, 08 Dec 2004 03:44:37 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CbxQV-0000Wf-D1 for emacs-devel@gnu.org; Wed, 08 Dec 2004 03:43:59 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CbxQU-0000WH-El for emacs-devel@gnu.org; Wed, 08 Dec 2004 03:43:58 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CbxQU-0000Vy-6Z for emacs-devel@gnu.org; Wed, 08 Dec 2004 03:43:58 -0500 Original-Received: from [64.233.184.196] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CbxFt-000192-HH for emacs-devel@gnu.org; Wed, 08 Dec 2004 03:33:01 -0500 Original-Received: by wproxy.gmail.com with SMTP id 71so386883wra for ; Wed, 08 Dec 2004 00:33:00 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=jCfBWuzMCJfETLNY15DphYroPtKkI28ngLTqvU2762rLmBmozJMVdUCuvIP2ahDdrFuij/QbEPImz/W0yeFMyIJ/AgByWGlf0HgNWlhDnTsDv+a1Ecyj2Lkyg6veB4Nbdo1lwOJN+MnPSPN/A1uqtAlXlV50NyvOaORac0VcA34= Original-Received: by 10.54.40.64 with SMTP id n64mr540019wrn; Wed, 08 Dec 2004 00:33:00 -0800 (PST) Original-Received: by 10.54.13.55 with HTTP; Wed, 8 Dec 2004 00:33:00 -0800 (PST) Original-To: emacs-devel@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:30853 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:30853 GNU Emacs CVS version under Linux. The variable tool-bar-button-margin controls the toolbar's height. When I set this variable to a value other than it's default value, for example, 2 or '(1 . 1), the toolbar's buttons "margin" changes, but toolbar's "height" remains, which is still icon_height+default_margin_value*2. This makes a blank bar at the bottom of the toolbar, looks ugly : ( Default value of tool-bar-button-margin is 4, defined in C Source, so I guess if there's some bug in toolbar display (I did not check the source) that make toolbar's height a "constant", not a variable being updated by value changing of tool-bar-button-margin.