From m.espak at ucl.ac.uk Sun Sep 4 08:17:22 2016 From: m.espak at ucl.ac.uk (Miklos Espak) Date: Sun, 4 Sep 2016 13:17:22 +0100 Subject: [Ctk-developers] Checkable push button check box jumps when button pushed Message-ID: Hi, if I click on the push button, its checkbox 'jumps' a bit left and up. I connected a modal dialog to the button. The checkbox is 'dislocated' until I close the dialog, then it returns to its normal position. This is on a Mac Yosemite with Qt 5.4.2. Screenshot attached. Has anyone seen this? Any trick to prevent it, e.g. some style sheet hacking? Cheers, Miklos -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screen Shot 2016-09-04 at 13.11.41.png Type: image/png Size: 6802 bytes Desc: not available URL: From julien.finet at kitware.com Mon Sep 5 02:43:47 2016 From: julien.finet at kitware.com (Julien Finet) Date: Mon, 5 Sep 2016 08:43:47 +0200 Subject: [Ctk-developers] Checkable push button check box jumps when button pushed In-Reply-To: References: Message-ID: Hi Miklos, I've never seen it. A good place to look would be: ctkCheckablePushButtonPrivate::drawIcon(QPainter* p) Hope this helps, Julien. On Sun, Sep 4, 2016 at 2:17 PM, Miklos Espak wrote: > Hi, > > if I click on the push button, its checkbox 'jumps' a bit left and up. I > connected a modal dialog to the button. The checkbox is 'dislocated' until > I close the dialog, then it returns to its normal position. > > This is on a Mac Yosemite with Qt 5.4.2. > > Screenshot attached. > > Has anyone seen this? > > Any trick to prevent it, e.g. some style sheet hacking? > > Cheers, > Miklos > > > _______________________________________________ > Ctk-developers mailing list > Ctk-developers at public.kitware.com > http://public.kitware.com/mailman/listinfo/ctk-developers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From julien.finet at kitware.com Mon Sep 5 02:43:47 2016 From: julien.finet at kitware.com (Julien Finet) Date: Mon, 5 Sep 2016 00:43:47 -0600 Subject: [Ctk-developers] Checkable push button check box jumps when button pushed In-Reply-To: References: Message-ID: Hi Miklos, I've never seen it. A good place to look would be: ctkCheckablePushButtonPrivate::drawIcon(QPainter* p) Hope this helps, Julien. On Sun, Sep 4, 2016 at 2:17 PM, Miklos Espak > wrote: Hi, if I click on the push button, its checkbox 'jumps' a bit left and up. I connected a modal dialog to the button. The checkbox is 'dislocated' until I close the dialog, then it returns to its normal position. This is on a Mac Yosemite with Qt 5.4.2. Screenshot attached. Has anyone seen this? Any trick to prevent it, e.g. some style sheet hacking? Cheers, Miklos _______________________________________________ Ctk-developers mailing list Ctk-developers at public.kitware. com http://public.kitware.com/ mailman/listinfo/ctk-developers -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: ATT00001.txt URL: