File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -554,7 +554,7 @@ void QgsColorButtonV2::setButtonBackground( const QColor color )
554
554
this );
555
555
// make sure height of icon looks good under different platforms
556
556
#ifdef Q_WS_WIN
557
- mIconSize = QSize ( buttonSize.width () - 10 , height () - 14 );
557
+ mIconSize = QSize ( buttonSize.width () - 10 , height () - 6 );
558
558
#else
559
559
mIconSize = QSize ( buttonSize.width () - 10 , height () - 12 );
560
560
#endif
@@ -565,7 +565,7 @@ void QgsColorButtonV2::setButtonBackground( const QColor color )
565
565
{
566
566
// no menu
567
567
#ifdef Q_WS_WIN
568
- currentIconSize = QSize ( width () - 10 , height () - 14 );
568
+ currentIconSize = QSize ( width () - 10 , height () - 6 );
569
569
#else
570
570
currentIconSize = QSize ( width () - 10 , height () - 12 );
571
571
#endif
You can’t perform that action at this time.
0 commit comments