How to change the display text of the button ,in quick control ?
-
How to change the display button controls on the color of the text in the quick control. I see a color options in the design window in the properties toolbar controls in the button, but the revised, button text displayed on the color does not change, still black. Don't know which master can answer , how to change or by code
-
@import QtQuick 2.1
import QtQuick.Controls 1.0
import QtQuick.Controls.Styles 1.0
import QtQuick.Window 2.0ApplicationWindow {
title: qsTr("Hello World")
width: 640
height: 480Button { style: ButtonStyle { label: Text { text: "A button" color: "#FFFF0000" } } }
}
@