NIconButton: fontSizeMedium by default
This commit is contained in:
parent
cd6e672978
commit
15a57c6719
2 changed files with 1 additions and 3 deletions
|
|
@ -74,7 +74,6 @@ PanelWindow {
|
||||||
NIconButton {
|
NIconButton {
|
||||||
id: demoPanelToggle
|
id: demoPanelToggle
|
||||||
icon: "experiment"
|
icon: "experiment"
|
||||||
fontPointSize: Style.fontSizeMedium
|
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
onClicked: function () {
|
onClicked: function () {
|
||||||
demoPanel.isLoaded = !demoPanel.isLoaded
|
demoPanel.isLoaded = !demoPanel.isLoaded
|
||||||
|
|
@ -84,7 +83,6 @@ PanelWindow {
|
||||||
NIconButton {
|
NIconButton {
|
||||||
id: sidePanelToggle
|
id: sidePanelToggle
|
||||||
icon: "widgets"
|
icon: "widgets"
|
||||||
fontPointSize: Style.fontSizeMedium
|
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
onClicked: function () {
|
onClicked: function () {
|
||||||
sidePanel.isLoaded = !demoPanel.isLoaded
|
sidePanel.isLoaded = !demoPanel.isLoaded
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ Rectangle {
|
||||||
property var onEntered: function () {}
|
property var onEntered: function () {}
|
||||||
property var onExited: function () {}
|
property var onExited: function () {}
|
||||||
property var onClicked: function () {}
|
property var onClicked: function () {}
|
||||||
property real fontPointSize: Style.fontSizeXL
|
property real fontPointSize: Style.fontSizeMedium
|
||||||
|
|
||||||
implicitWidth: size
|
implicitWidth: size
|
||||||
implicitHeight: size
|
implicitHeight: size
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue