Remove hardcoded colors from color palette dialog -- use current style colors.

This commit is contained in:
Jim Evins
2015-08-19 11:45:03 -04:00
parent e4d2603cb4
commit f27cf4708b
3 changed files with 13 additions and 28 deletions
+1 -3
View File
@@ -26,8 +26,6 @@
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QGridLayout>
#include <QPushButton>
#include <QToolButton>
#include <QFrame>
@@ -90,7 +88,7 @@ namespace glabels
mDefaultColor = defaultColor;
mColorNode = ColorNode( color );
setStyleSheet( "background: white; border: 1px solid black" );
setStyleSheet( ".glabels--ColorPaletteDialog {background: white; border: 1px solid black}" );
setWindowFlags( Qt::Popup | Qt::FramelessWindowHint );
QVBoxLayout* vLayout = new QVBoxLayout();