mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-05-15 00:32:47 -04:00
fix(DankTextField): set TextInput 'fontFamily' (#2399)
This allows input fields created using the widget to inherit their font family from Theme.
This commit is contained in:
@@ -116,6 +116,7 @@ StyledRect {
|
|||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
anchors.bottomMargin: root.bottomPadding
|
anchors.bottomMargin: root.bottomPadding
|
||||||
font.pixelSize: Theme.fontSizeMedium
|
font.pixelSize: Theme.fontSizeMedium
|
||||||
|
font.family: Theme.fontFamily
|
||||||
color: Theme.surfaceText
|
color: Theme.surfaceText
|
||||||
selectionColor: Theme.primaryContainer
|
selectionColor: Theme.primaryContainer
|
||||||
selectedTextColor: Theme.primary
|
selectedTextColor: Theme.primary
|
||||||
|
|||||||
Reference in New Issue
Block a user