settings: about page

This commit is contained in:
end-4
2025-06-19 18:58:30 +02:00
parent 0416ddbf3f
commit e8414c88ba
10 changed files with 195 additions and 35 deletions
@@ -7,7 +7,8 @@ import "root:/modules/common/widgets/"
RippleButton {
id: buttonWithIconRoot
property string nerdIcon
property string iconText
property string materialIcon
property bool materialIconFill: true
property string mainText: "Button text"
property Component mainContentComponent: Component {
StyledText {
@@ -29,10 +30,10 @@ RippleButton {
anchors.centerIn: parent
active: !nerdIcon
sourceComponent: MaterialSymbol {
text: buttonWithIconRoot.iconText
text: buttonWithIconRoot.materialIcon
iconSize: Appearance.font.pixelSize.larger
color: Appearance.colors.colOnSecondaryContainer
fill: 1
fill: buttonWithIconRoot.materialIconFill ? 1 : 0
}
}
Loader {