NIconButton: fontSizeMedium by default

This commit is contained in:
quadbyte 2025-08-10 09:35:23 -04:00
parent cd6e672978
commit 15a57c6719
2 changed files with 1 additions and 3 deletions

View file

@ -74,7 +74,6 @@ PanelWindow {
NIconButton {
id: demoPanelToggle
icon: "experiment"
fontPointSize: Style.fontSizeMedium
anchors.verticalCenter: parent.verticalCenter
onClicked: function () {
demoPanel.isLoaded = !demoPanel.isLoaded
@ -84,7 +83,6 @@ PanelWindow {
NIconButton {
id: sidePanelToggle
icon: "widgets"
fontPointSize: Style.fontSizeMedium
anchors.verticalCenter: parent.verticalCenter
onClicked: function () {
sidePanel.isLoaded = !demoPanel.isLoaded

View file

@ -16,7 +16,7 @@ Rectangle {
property var onEntered: function () {}
property var onExited: function () {}
property var onClicked: function () {}
property real fontPointSize: Style.fontSizeXL
property real fontPointSize: Style.fontSizeMedium
implicitWidth: size
implicitHeight: size