Commit 82a54c28 authored by Thomas Hartmann's avatar Thomas Hartmann

QmlDesigner.Button: using Constants.js

Change-Id: I0715d9a377493ffb383edf9f28ec1725191e5efb
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent a57ab5d4
...@@ -41,6 +41,7 @@ ...@@ -41,6 +41,7 @@
import QtQuick 2.1 import QtQuick 2.1
import QtQuick.Controls 1.1 as Controls import QtQuick.Controls 1.1 as Controls
import QtQuick.Controls.Styles 1.1 import QtQuick.Controls.Styles 1.1
import "Constants.js" as Constants
Controls.Button { Controls.Button {
property color borderColor: "#222" property color borderColor: "#222"
...@@ -48,7 +49,7 @@ Controls.Button { ...@@ -48,7 +49,7 @@ Controls.Button {
property color textColor: "#eee" property color textColor: "#eee"
style: ButtonStyle { style: ButtonStyle {
label: Text { label: Text {
color: CreatorStyle.textColor color: Constants.colorsDefaultText
anchors.fill: parent anchors.fill: parent
renderType: Text.NativeRendering renderType: Text.NativeRendering
verticalAlignment: Text.AlignVCenter verticalAlignment: Text.AlignVCenter
......
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