1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-25 05:52:50 -05:00

feat: Add line numbers toggle to Notepad settings

This commit is contained in:
purian23
2025-09-20 19:06:58 -04:00
parent d4816bd174
commit ffc13f71b7
4 changed files with 104 additions and 4 deletions

View File

@@ -143,6 +143,18 @@ Item {
}
}
DankToggle {
anchors.left: parent.left
anchors.leftMargin: -Theme.spacingM
width: parent.width + Theme.spacingM
text: "Show Line Numbers"
description: "Display line numbers in editor"
checked: SettingsData.notepadShowLineNumbers
onToggled: checked => {
SettingsData.notepadShowLineNumbers = checked
}
}
Rectangle {
width: parent.width
height: visible ? (fontDropdown.height + Theme.spacingS) : 0