Commit 1820ec37 authored by NICLAUSSE Nicolas's avatar NICLAUSSE Nicolas
Browse files

apply theme in workspaceBar and raise font size

parent 1701d61d
...@@ -116,6 +116,12 @@ void dtkWidgetsWorkspaceBarPrivate::createWorkspace(const QColor& color, const Q ...@@ -116,6 +116,12 @@ void dtkWidgetsWorkspaceBarPrivate::createWorkspace(const QColor& color, const Q
q->setTabText(index, name); q->setTabText(index, name);
q->setTabTextColor(index, color.isValid() ? color : dtkThemesEngine::instance()->color("@fg")); q->setTabTextColor(index, color.isValid() ? color : dtkThemesEngine::instance()->color("@fg"));
connect(dtkThemesEngine::instance(), &dtkThemesEngine::changed,
[=] () {
q->setTabTextColor(index, color.isValid() ? color : dtkThemesEngine::instance()->color("@fg"));
});
this->workspace_map.insert(index, workspace); this->workspace_map.insert(index, workspace);
q->repaint(); q->repaint();
......
...@@ -57,6 +57,8 @@ Rectangle { ...@@ -57,6 +57,8 @@ Rectangle {
color: theme.value("@fg"); color: theme.value("@fg");
font.pointSize: 12;
Image { Image {
anchors.verticalCenter: parent.verticalCenter; anchors.verticalCenter: parent.verticalCenter;
anchors.right: parent.right; anchors.right: parent.right;
...@@ -79,7 +81,7 @@ Rectangle { ...@@ -79,7 +81,7 @@ Rectangle {
text: description; text: description;
font.pointSize: 9; font.pointSize: 12;
wrapMode: TextEdit.WordWrap; wrapMode: TextEdit.WordWrap;
} }
...@@ -150,6 +152,8 @@ Rectangle { ...@@ -150,6 +152,8 @@ Rectangle {
color: theme.value("@fg"); color: theme.value("@fg");
text: "Choose package"; text: "Choose package";
font.pointSize: 12;
} }
Image { Image {
......
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