unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: nljlistbox2@gmail.com (N. Jackson)
To: martin rudalics <rudalics@gmx.at>
Cc: 20182@debbugs.gnu.org
Subject: bug#20182: 24.4.91; [GTK3] Vertical scroll bar is "indented" from right edge of frame
Date: Mon, 23 Mar 2015 18:26:19 -0300	[thread overview]
Message-ID: <874mpbwglg.fsf@moondust.localdomain> (raw)
In-Reply-To: <55106F6C.7010900@gmx.at> (martin rudalics's message of "Mon, 23 Mar 2015 20:54:20 +0100")

At 16:54 -0300 on Monday 2015-03-23, martin rudalics wrote:

>> - The Emacs frame has a vertical scroll bar displayed on the right, but
>>    the right edge of the scroll bar is "indented" from the right edge of
>>    the frame. That is, the right edge of the scroll bar is a few pixels
>>    to the left of (the pixel column of) the right edge of the title bar
>>    and menu bar. [In other words the scroll bar and the title bar / menu
>>    bar intersect in the form a T.]
>
> I suppose its the hardcoded w = 16 in update_theme_scrollbar_width.
>
> Does anything change if you play around with say
>
> (set-frame-parameter nil 'scroll-bar-width 14)
>
> or smaller values than 14?

Hi Martin,

Yes. Setting scroll-bar-width to 14 reduces the indent. At 13 and at 12
the indent is gone and the window (Emacs frame, that is) looks correct.
And at 11 and 10 and smaller I see the scrollbar being noticably clipped
(it is too far to the right and the right side of it is missing).

I'm guessing there must be a way to get the correct value from the
toolkit rather than hard coding it to 16?

Thanks.

Regards,
Neil.






  reply	other threads:[~2015-03-23 21:26 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-23 18:58 bug#20182: 24.4.91; [GTK3] Vertical scroll bar is "indented" from right edge of frame N. Jackson
2015-03-23 19:54 ` martin rudalics
2015-03-23 21:26   ` N. Jackson [this message]
2015-03-23 21:48     ` martin rudalics
2015-03-24  6:02       ` Jan D.
2015-03-24 10:51         ` martin rudalics
2015-03-24 16:16           ` Jan D.
2015-03-24 20:39             ` N. Jackson
2015-03-24 21:06               ` N. Jackson
2015-03-24 21:38               ` Jan D.
2015-03-24 23:20                 ` N. Jackson
2015-03-25  6:05                   ` Jan D.
2015-03-25 10:25             ` martin rudalics
2015-07-06 11:08               ` 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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=874mpbwglg.fsf@moondust.localdomain \
    --to=nljlistbox2@gmail.com \
    --cc=20182@debbugs.gnu.org \
    --cc=rudalics@gmx.at \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).