Fix: TextArea和TextInput组件,当BorderRadius属性入参为borderRadius(Length,Length…

(cherry picked commit from <gitee.com//openharmony/arkui_ace_engine/commit/d603289a094b40f67ad951b946f4975e12671d9e>

Signed-off-by: yangzq233 <yangzhiqiang10@huawei.com>
This commit is contained in:
yangzq233 2024-08-06 20:28:31 +08:00
parent c6acb4627b
commit d9f5c3cc1e
2 changed files with 7 additions and 0 deletions

View File

@ -100,6 +100,12 @@ void FfiOHOSAceFrameworkTextFieldSetBorderRadius(double value, uint32_t unit)
TextFieldModel::GetInstance()->SetBackBorder();
}
void FfiOHOSAceFrameworkTextFieldSetAllBorderRadius(CJBorderRadius value)
{
FfiOHOSAceFrameworkViewAbstractSetAllBorderRadius(value);
TextFieldModel::GetInstance()->SetBackBorder();
}
void FfiOHOSAceFrameworkTextFieldSetBackgroundColor(uint32_t value)
{
TextFieldModel::GetInstance()->SetBackgroundColor(Color(value), false);

View File

@ -29,6 +29,7 @@ CJ_EXPORT void FfiOHOSAceFrameworkTextFieldSetBorderWidth(double value, uint32_t
CJ_EXPORT void FfiOHOSAceFrameworkTextFieldSetBorderColor(uint32_t color);
CJ_EXPORT void FfiOHOSAceFrameworkTextFieldSetBorderStyle(int32_t style);
CJ_EXPORT void FfiOHOSAceFrameworkTextFieldSetBorderRadius(double value, uint32_t unit);
CJ_EXPORT void FfiOHOSAceFrameworkTextFieldSetAllBorderRadius(CJBorderRadius value);
CJ_EXPORT void FfiOHOSAceFrameworkTextFieldSetBackgroundColor(uint32_t color);
CJ_EXPORT void FfiOHOSAceFrameworkTextFieldSetPadding(double value, int32_t unit);
CJ_EXPORT void FfiOHOSAceFrameworkTextFieldSetPaddings(CJEdge params);