This commit is contained in:
朱子楚\zhuzi
2023-08-12 11:01:40 +08:00
parent 855305f197
commit 0b17d03f23
6 changed files with 29 additions and 34 deletions

View File

@ -24,7 +24,7 @@ FluScrollablePage{
id:com_lable
FluText{
wrapMode: Text.WrapAnywhere
horizontalAlignment: textAlignment
horizontalAlignment: isRight ? Qt.AlignRight : Qt.AlignLeft
text: modelData.lable
color: FluTheme.primaryColor.dark
MouseArea{
@ -41,7 +41,7 @@ FluScrollablePage{
id:com_text
FluText{
wrapMode: Text.WrapAnywhere
horizontalAlignment: textAlignment
horizontalAlignment: isRight ? Qt.AlignRight : Qt.AlignLeft
text: modelData.text
font.bold: true
MouseArea{