From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: resize windows horizontally with the mouse Date: Fri, 31 Jan 2014 10:52:57 +0100 Message-ID: <52EB7279.4050207@swipnet.se> References: <87a9eervp7.fsf@web.de> <52E9FA94.2080108@gmx.at> <52EA04FD.1090306@gmx.at> <1C9AC11E-E831-4CA4-AF6D-C7094A36FD26@swipnet.se> <52EA57E4.7060908@gmx.at> <8698602D-17D7-4C9B-864F-811CDFCA65BF@swipnet.se> <52EA63B2.9080508@gmx.at> <52EA9DE2.8060108@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1391162001 13086 80.91.229.3 (31 Jan 2014 09:53:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Jan 2014 09:53:21 +0000 (UTC) Cc: Darren Hoo , Emacs developers , Yuri Khan To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 31 10:53:27 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W9Amq-0004ia-Uj for ged-emacs-devel@m.gmane.org; Fri, 31 Jan 2014 10:53:25 +0100 Original-Received: from localhost ([::1]:53998 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9Amq-00057F-M4 for ged-emacs-devel@m.gmane.org; Fri, 31 Jan 2014 04:53:24 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42295) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9Amg-000576-FM for emacs-devel@gnu.org; Fri, 31 Jan 2014 04:53:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W9AmY-0000oI-C6 for emacs-devel@gnu.org; Fri, 31 Jan 2014 04:53:14 -0500 Original-Received: from mailfe08.swip.net ([212.247.154.225]:43037 helo=swip.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9AmY-0000o8-5E for emacs-devel@gnu.org; Fri, 31 Jan 2014 04:53:06 -0500 X-T2-Spam-Status: No, hits=0.8 required=5.0 tests=BAYES_50 Original-Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe08.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 474284528; Fri, 31 Jan 2014 10:53:01 +0100 Original-Received: from jdvpro.hq.ismobile.com (unknown [176.57.193.190]) (Authenticated sender: jhd) by hosdjarv.se (Postfix) with ESMTPSA id 44F651A026F; Fri, 31 Jan 2014 09:53:01 +0000 (UTC) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 In-Reply-To: <52EA9DE2.8060108@gmx.at> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 212.247.154.225 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:169264 Archived-At: Hello. martin rudalics skrev 2014-01-30 19:45: > > 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 think it is the trough-border. What do you do to make this happen? Is it dependent on your 12 pixel setting? Jan D. > > I attach a screenshot where you can see the effect with the scrollbar in > the upper window. > > martin