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

QmlDesigner.Button: using Constants.js

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