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: Thu, 30 Jan 2014 16:46:17 +0100 Message-ID: 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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1391096787 5618 80.91.229.3 (30 Jan 2014 15:46:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 30 Jan 2014 15:46:27 +0000 (UTC) Cc: Yuri Khan , Darren Hoo , Emacs developers To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 30 16:46:33 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 1W8tp2-0003lX-SK for ged-emacs-devel@m.gmane.org; Thu, 30 Jan 2014 16:46:32 +0100 Original-Received: from localhost ([::1]:50923 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8tp2-0005l0-GL for ged-emacs-devel@m.gmane.org; Thu, 30 Jan 2014 10:46:32 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54180) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8tov-0005dP-0J for emacs-devel@gnu.org; Thu, 30 Jan 2014 10:46:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W8toq-00089Y-EU for emacs-devel@gnu.org; Thu, 30 Jan 2014 10:46:24 -0500 Original-Received: from mailfe07.swip.net ([212.247.154.193]:59599 helo=swip.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8toq-00089I-7m for emacs-devel@gnu.org; Thu, 30 Jan 2014 10:46:20 -0500 X-T2-Spam-Status: No, hits=0.8 required=5.0 tests=BAYES_50, MIME_QP_LONG_LINE Original-Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe07.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 472621874; Thu, 30 Jan 2014 16:46:16 +0100 X-Mailer: iPad Mail (11B554a) In-Reply-To: <52EA63B2.9080508@gmx.at> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 212.247.154.193 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:169247 Archived-At: Hi. > 30 jan 2014 kl. 15:37 skrev martin rudalics : >=20 > > In some themes the scroll bar handle is a bitmap of fixed width. Those d= o not obey GtkRange-slider-width if too small. I guess you don't have that= kind of theme. >=20 > I suppose not. Is there any harm when they don't? Yes. We resize the GtkFixed where the text-part and scrollbar resides in Ema= cs. The layout widgets can not handle the layout of Emacs (i.e. text with sc= rollbar, modeline without scrollbar, minibuffer with scrollbar). If the scro= llbar is 16 pixels wide no matter what, and Emacs thinks it. is 12, the sizi= ng will be wrong. >=20 > >> And the default should be 14 IIUC. > >> > > > > Why? >=20 > Because that's what I found everywhere but I'm obviously a complete > idiot in this department. I looked, for example, here: >=20 > http://www.gtk.org/api/2.6/gtk/GtkRange.html >=20 > https://developer.gnome.org/gtk3/stable/GtkRange.html#GtkRange--s-slider-w= idth >=20 > http://gtk.php.net/manual/en/html/gtk/gtk.gtkrange.property.slider-width.h= tml You have to add 2 x trough-border, i.e 2 x 1. Jan D.=