* Problem with change of toolbar's margin
@ 2004-12-08 8:33 Sun Yijiang
2004-12-08 11:03 ` Kim F. Storm
0 siblings, 1 reply; 4+ messages in thread
From: Sun Yijiang @ 2004-12-08 8:33 UTC (permalink / raw)
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problem with change of toolbar's margin
2004-12-08 8:33 Problem with change of toolbar's margin Sun Yijiang
@ 2004-12-08 11:03 ` Kim F. Storm
2004-12-08 13:59 ` Sun Yijiang
0 siblings, 1 reply; 4+ messages in thread
From: Kim F. Storm @ 2004-12-08 11:03 UTC (permalink / raw)
Cc: emacs-devel
Sun Yijiang <sunyijiang@gmail.com> writes:
> 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.
With some toolkits, the height of the tool-bar must be a multiple
of the default frame line height. It is on my to-do list to fix
this, but not before 21.4 is released.
--
Kim F. Storm <storm@cua.dk> http://www.cua.dk
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problem with change of toolbar's margin
2004-12-08 11:03 ` Kim F. Storm
@ 2004-12-08 13:59 ` Sun Yijiang
2004-12-08 16:13 ` Miles Bader
0 siblings, 1 reply; 4+ messages in thread
From: Sun Yijiang @ 2004-12-08 13:59 UTC (permalink / raw)
Cc: emacs-devel
I see. But is there any toolkit support more flexible frame height
under GNU/Linux?
On Wed, 08 Dec 2004 12:03:17 +0100, Kim F. Storm <storm@cua.dk> wrote:
> Sun Yijiang <sunyijiang@gmail.com> writes:
>
>
>
> > 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.
>
> With some toolkits, the height of the tool-bar must be a multiple
> of the default frame line height. It is on my to-do list to fix
> this, but not before 21.4 is released.
>
> --
> Kim F. Storm <storm@cua.dk> http://www.cua.dk
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-12-08 16:13 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-08 8:33 Problem with change of toolbar's margin Sun Yijiang
2004-12-08 11:03 ` Kim F. Storm
2004-12-08 13:59 ` Sun Yijiang
2004-12-08 16:13 ` Miles Bader
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.