Commit 6983f0c8 authored by Scott Petrovic's avatar Scott Petrovic
Browse files

make it easier to tell if the portrait or landscape button is selected in the new document dialog

parent c59ed2a2
......@@ -144,6 +144,15 @@ KisCustomImageWidget::KisCustomImageWidget(QWidget* parent, qint32 defWidth, qin
fillPredefined();
switchPortraitLandscape();
// this makes the portrait and landscape buttons more
// obvious what is selected by changing the higlight color
QPalette p = QApplication::palette();
QPalette palette_highlight(p );
QColor c = p.color(QPalette::Highlight);
palette_highlight.setColor(QPalette::Button, c);
bnLandscape->setPalette(palette_highlight);
bnPortrait->setPalette(palette_highlight);
}
void KisCustomImageWidget::showEvent(QShowEvent *)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment