Skip to content

Commit

Permalink
fix: placeholder text horizontalAlignment not work
Browse files Browse the repository at this point in the history
set parent to control(default parent was loader)
  • Loading branch information
kegechen committed Oct 9, 2024
1 parent 2328b7e commit 1747e1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions qt6/src/qml/TextField.qml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ T.TextField {
color: control.placeholderTextColor
verticalAlignment: control.verticalAlignment
renderType: control.renderType
parent: control
}
}

Expand Down
1 change: 1 addition & 0 deletions src/qml/TextField.qml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ T.TextField {
color: control.D.ColorSelector.placeholderTextColor
verticalAlignment: control.verticalAlignment
renderType: control.renderType
parent: control
}
}

Expand Down

0 comments on commit 1747e1d

Please sign in to comment.