From owner-svn-ports-head@freebsd.org Wed Jun 19 06:52:33 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0811715D415F; Wed, 19 Jun 2019 06:52:33 +0000 (UTC) (envelope-from shurd@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A2DFE800EA; Wed, 19 Jun 2019 06:52:32 +0000 (UTC) (envelope-from shurd@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7EB4120E1E; Wed, 19 Jun 2019 06:52:32 +0000 (UTC) (envelope-from shurd@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x5J6qWBk014312; Wed, 19 Jun 2019 06:52:32 GMT (envelope-from shurd@FreeBSD.org) Received: (from shurd@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x5J6qWBN014310; Wed, 19 Jun 2019 06:52:32 GMT (envelope-from shurd@FreeBSD.org) Message-Id: <201906190652.x5J6qWBN014310@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: shurd set sender to shurd@FreeBSD.org using -f From: Stephen Hurd Date: Wed, 19 Jun 2019 06:52:32 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r504516 - in head/comms/quisk: . files X-SVN-Group: ports-head X-SVN-Commit-Author: shurd X-SVN-Commit-Paths: in head/comms/quisk: . files X-SVN-Commit-Revision: 504516 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: A2DFE800EA X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.97)[-0.966,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jun 2019 06:52:33 -0000 Author: shurd Date: Wed Jun 19 06:52:31 2019 New Revision: 504516 URL: https://svnweb.freebsd.org/changeset/ports/504516 Log: Fix error in positioning sliders when the font size is larger than the slider size introduced by r504514. Modified: head/comms/quisk/Makefile head/comms/quisk/files/patch-quisk__widgets.py Modified: head/comms/quisk/Makefile ============================================================================== --- head/comms/quisk/Makefile Wed Jun 19 06:50:45 2019 (r504515) +++ head/comms/quisk/Makefile Wed Jun 19 06:52:31 2019 (r504516) @@ -3,7 +3,7 @@ PORTNAME= quisk DISTVERSION= 4.1.40 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= comms hamradio MASTER_SITES= CHEESESHOP Modified: head/comms/quisk/files/patch-quisk__widgets.py ============================================================================== --- head/comms/quisk/files/patch-quisk__widgets.py Wed Jun 19 06:50:45 2019 (r504515) +++ head/comms/quisk/files/patch-quisk__widgets.py Wed Jun 19 06:52:31 2019 (r504516) @@ -1,6 +1,6 @@ ---- quisk_widgets.py.orig 2019-06-19 06:35:39 UTC +--- quisk_widgets.py.orig 2019-05-28 12:22:59 UTC +++ quisk_widgets.py -@@ -248,7 +248,16 @@ class SliderBoxH: +@@ -248,7 +248,15 @@ class SliderBoxH: else: self.text_ctrl = wx.StaticText(parent, -1, t, pos=pos) w2, h2 = self.text_ctrl.GetSize() @@ -10,10 +10,9 @@ + p2 = pos[1] + if h3 > h2: + p2 -= (h3 - h2) / 2 -+ h2 = h3 + else: + p2 += (h2 - h3) / 2 -+ self.slider.SetSize((width - w2, h2)) ++ self.slider.SetSize((width - w2, h3)) + self.slider.SetPosition((pos[0] + w2, p2)) self.slider.Bind(wx.EVT_SCROLL, self.OnScroll) self.text_ctrl.SetForegroundColour(parent.GetForegroundColour())