all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: "Jan D." <jan.h.d@swipnet.se>
Cc: Yuri Khan <yuri.v.khan@gmail.com>,
	Darren Hoo <darren.hoo@gmail.com>,
	Emacs developers <emacs-devel@gnu.org>
Subject: Re: resize windows horizontally with the mouse
Date: Thu, 30 Jan 2014 19:45:54 +0100	[thread overview]
Message-ID: <52EA9DE2.8060108@gmx.at> (raw)
In-Reply-To: <A394A439-1F8E-4E23-A83B-02B25E2BC413@swipnet.se>

[-- Attachment #1: Type: text/plain, Size: 824 bytes --]

 > Yes. We resize the GtkFixed where the text-part and scrollbar resides in Emacs. The layout widgets can not handle the layout of Emacs (i.e. text with scrollbar, modeline without scrollbar, minibuffer with scrollbar). If the scrollbar is 16 pixels wide no matter what, and Emacs thinks it. is 12, the sizing will be wrong.

I see.  But here I have to explicitly set the scroll-bar-width frame
parameter to make sure that no extra space is drawn.  Maybe we should
document this somewhere.

 > You have to add 2 x trough-border, i.e 2 x 1.

Aha.  So is it the trough-border that doesn't get always cleared
correctly when deleting/resizing windows or is it some extra space
between trough-border and the surrounding objects?

I attach a screenshot where you can see the effect with the scrollbar in
the upper window.

martin

[-- Attachment #2: GTK-scrollbars.png --]
[-- Type: image/png, Size: 54837 bytes --]

  reply	other threads:[~2014-01-30 18:45 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-30  3:32 resize windows horizontally with the mouse Michael Heerdegen
2014-01-30  3:36 ` Yuri Khan
2014-01-30  3:55   ` Michael Heerdegen
2014-01-30  5:27   ` Darren Hoo
2014-01-30  6:34     ` Yuri Khan
2014-01-30  7:09       ` martin rudalics
2014-01-30  7:20         ` Yuri Khan
2014-01-30  7:53           ` martin rudalics
2014-01-30  9:45             ` Jan D.
2014-01-30 13:47               ` martin rudalics
2014-01-30 14:19                 ` Jan Djärv
2014-01-30 14:37                   ` martin rudalics
2014-01-30 15:46                     ` Jan D.
2014-01-30 18:45                       ` martin rudalics [this message]
2014-01-31  9:52                         ` Jan D.
2014-01-31 10:44                           ` martin rudalics
2014-01-30  7:08 ` martin rudalics
2014-01-30  8:47 ` Andreas Schwab

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=52EA9DE2.8060108@gmx.at \
    --to=rudalics@gmx.at \
    --cc=darren.hoo@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=jan.h.d@swipnet.se \
    --cc=yuri.v.khan@gmail.com \
    /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.