Better busy indicator defaults

This commit is contained in:
quadbyte 2025-08-11 15:06:54 -04:00
parent 8cc3c47f09
commit ab7bb4a6d4
3 changed files with 27 additions and 10 deletions

View file

@ -24,8 +24,8 @@ NLoader {
radius: Style.radiusMedium * scaling
border.color: Colors.backgroundTertiary
border.width: Math.max(1, Style.borderMedium * scaling)
width: 500 * scaling
height: 400 * scaling
width: 600 * scaling
height: 600 * scaling
anchors.centerIn: parent
// Prevent closing when clicking in the panel bg
@ -104,7 +104,7 @@ NLoader {
// NToggle
ColumnLayout {
spacing: Style.marginLarge * scaling
spacing: Style.marginMedium * scaling
NText {
text: "NToggle"
color: Colors.accentSecondary
@ -126,7 +126,7 @@ NLoader {
// NComboBox
ColumnLayout {
spacing: Style.marginLarge * scaling
spacing: Style.marginMedium * scaling
NText {
text: "NComboBox"
color: Colors.accentSecondary
@ -146,6 +146,23 @@ NLoader {
Layout.fillWidth: true
}
}
// NBusyIndicator
ColumnLayout {
spacing: Style.marginMedium * scaling
NText {
text: "NBusyIndicator"
color: Colors.accentSecondary
font.weight: Style.fontWeightBold
}
NBusyIndicator {
}
NDivider {
Layout.fillWidth: true
}
}
}
}
}