all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Eli Zaretskii <eliz@gnu.org>, 24107@debbugs.gnu.org
Subject: bug#24107: 25.1; menu-bar-size and tool-bar-size are reported inconsistently on w32
Date: Sat, 30 Jul 2016 10:22:14 +0200	[thread overview]
Message-ID: <579C63B6.9080308@gmx.at> (raw)
In-Reply-To: <8360roqq9q.fsf@gnu.org>

 >   emacs -Q
 >   M-: (frame-geometry) RET
 >
 > When I do this on MS-Windows, I get
 >
 >    ... (menu-bar-size 672 . 19) ... (tool-bar-size 680 . 36) ...
 >
 > which looks incorrect, because the width of both is the same.  I think
 > the width of the menu bar is the correct one.  The reason I think that
 > is that when I disable the scroll bars, the width reported for the
 > menu bar is exactly the window-body-width plus the 16 pixels used up
 > by the fringes.

It's the best I came up with so far.  I can't use the width of the menu
bar: Try doing

(set-frame-parameter nil 'internal-border-width 36)

and you'll see what I mean.

BTW the Lucid and Motif builds _do_ report the same width for menu and
tool bar which is wrong with a non-zero internal border width.

martin





  reply	other threads:[~2016-07-30  8:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-29 17:59 bug#24107: 25.1; menu-bar-size and tool-bar-size are reported inconsistently on w32 Eli Zaretskii
2016-07-30  8:22 ` martin rudalics [this message]
2016-07-30  8:41   ` Eli Zaretskii
2016-07-30  9:39     ` martin rudalics
2016-07-30 10:36       ` Eli Zaretskii
2016-07-30 12:30         ` martin rudalics

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=579C63B6.9080308@gmx.at \
    --to=rudalics@gmx.at \
    --cc=24107@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.