forked from qt-creator/qt-creator
QmlDesigner: Fix the color of some toolbar icons
Give them the standard Theme::IconsBaseColor that works well with all themes. Task-number: QTCREATORBUG-24402 Change-Id: I458d1b4a7b3cceb2d318ff4257b4aa173170a533 Reviewed-by: Henning Gründl <henning.gruendl@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -239,6 +239,7 @@ void DesignModeWidget::setup()
|
||||
m_dockManager->setStyleSheet(Theme::replaceCssColors(sheet));
|
||||
|
||||
// Setup icons
|
||||
const QColor iconColor(Theme::getColor(Theme::IconsBaseColor));
|
||||
const QColor buttonColor(Theme::getColor(Theme::QmlDesigner_TabLight)); // TODO Use correct color roles
|
||||
const QColor tabColor(Theme::getColor(Theme::QmlDesigner_TabDark));
|
||||
|
||||
@@ -468,8 +469,8 @@ void DesignModeWidget::setup()
|
||||
m_dockManager->openWorkspace(workspaceComboBox->currentText());
|
||||
});
|
||||
|
||||
const QIcon gaIcon = Utils::StyleHelper::getIconFromIconFont(fontName,
|
||||
Theme::getIconUnicode(Theme::Icon::annotationBubble), 36, 36);
|
||||
const QIcon gaIcon = Utils::StyleHelper::getIconFromIconFont(
|
||||
fontName, Theme::getIconUnicode(Theme::Icon::annotationBubble), 36, 36, iconColor);
|
||||
toolBar->addAction(gaIcon, tr("Edit global annotation for current file."), [&](){
|
||||
ModelNode node = currentDesignDocument()->rewriterView()->rootModelNode();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user