mirror of
https://github.com/openharmony/ace_engine_lite.git
synced 2026-07-20 13:53:35 -04:00
修改text垂直显示方向为居中希纳是
This commit is contained in:
@@ -248,7 +248,7 @@ void TextComponent::SetTextAlign(UILabel &label, const AppStyleItem *styleItem)
|
||||
stylePropValue);
|
||||
break;
|
||||
}
|
||||
label.SetAlign(align);
|
||||
label.SetAlign(align, UITextLanguageAlignment::TEXT_ALIGNMENT_CENTER);
|
||||
}
|
||||
} // namespace ACELite
|
||||
} // namespace OHOS
|
||||
|
||||
Reference in New Issue
Block a user