changeset 86:25702133df10

ColourButton: increase size and add a tooltip I think it looks better slightly bigger
author Jordi Gutiérrez Hermoso <jordigh@octave.org>
date Tue, 10 Sep 2019 22:48:55 -0400
parents bceea4c471ad
children 7a48bf24c84a
files tilerswift
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tilerswift
+++ b/tilerswift
@@ -355,9 +355,10 @@
 
     def __init__(self, colour_idx):
         super().__init__()
-        self.setFixedSize(QC.QSize(24, 24))
+        self.setFixedSize(QC.QSize(32, 32))
         self.colour_idx = colour_idx
         self.set_colour(colour_idx)
+        self.setToolTip("Change colour")
 
     def set_colour(self, colour_idx):
         self.colour_idx = colour_idx