From owner-svn-ports-head@freebsd.org Wed Jun 19 06:39:07 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 E82B015D3CAE; Wed, 19 Jun 2019 06:39:06 +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 8EB9B776DE; Wed, 19 Jun 2019 06:39:06 +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 63CF520AC7; Wed, 19 Jun 2019 06:39:06 +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 x5J6d6Xd003912; Wed, 19 Jun 2019 06:39:06 GMT (envelope-from shurd@FreeBSD.org) Received: (from shurd@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x5J6d6U8003911; Wed, 19 Jun 2019 06:39:06 GMT (envelope-from shurd@FreeBSD.org) Message-Id: <201906190639.x5J6d6U8003911@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:39:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r504514 - 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: 504514 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 8EB9B776DE 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_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.97)[-0.966,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] 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:39:07 -0000 Author: shurd Date: Wed Jun 19 06:39:05 2019 New Revision: 504514 URL: https://svnweb.freebsd.org/changeset/ports/504514 Log: Fix issue where if the height of the slider is greater than the height of the text, the slider isn't displayed. Added: head/comms/quisk/files/patch-quisk__widgets.py (contents, props changed) Modified: head/comms/quisk/Makefile Modified: head/comms/quisk/Makefile ============================================================================== --- head/comms/quisk/Makefile Wed Jun 19 05:32:28 2019 (r504513) +++ head/comms/quisk/Makefile Wed Jun 19 06:39:05 2019 (r504514) @@ -3,7 +3,7 @@ PORTNAME= quisk DISTVERSION= 4.1.40 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= comms hamradio MASTER_SITES= CHEESESHOP Added: head/comms/quisk/files/patch-quisk__widgets.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/quisk/files/patch-quisk__widgets.py Wed Jun 19 06:39:05 2019 (r504514) @@ -0,0 +1,20 @@ +--- quisk_widgets.py.orig 2019-06-19 06:35:39 UTC ++++ quisk_widgets.py +@@ -248,7 +248,16 @@ class SliderBoxH: + else: + self.text_ctrl = wx.StaticText(parent, -1, t, pos=pos) + w2, h2 = self.text_ctrl.GetSize() +- self.slider = wx.Slider(parent, -1, init, themin, themax, (pos[0] + w2, pos[1]), (width - w2, h2)) ++ self.slider = wx.Slider(parent, -1, init, themin, themax) ++ w3, h3 = self.slider.GetSize() ++ 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.SetPosition((pos[0] + w2, p2)) + self.slider.Bind(wx.EVT_SCROLL, self.OnScroll) + self.text_ctrl.SetForegroundColour(parent.GetForegroundColour()) + self.OnScroll()