Home
last modified time | relevance | path

Searched refs:buttonTheme_ (Results 1 - 2 of 2) sorted by relevance

/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_button.cpp84 buttonTheme_ = GetTheme<ButtonTheme>(); in PrepareSpecializedComponent()
86 if (!buttonDeclaration_ || !buttonTheme_) { in PrepareSpecializedComponent()
157 boxComponent_->SetHeight(buttonTheme_->GetDownloadHeight().Value(), in PrepareBoxSize()
158 buttonTheme_->GetDownloadHeight().Unit()); in PrepareBoxSize()
161 boxComponent_->SetHeight(buttonTheme_->GetHeight().Value(), buttonTheme_->GetHeight().Unit()); in PrepareBoxSize()
259 preferTextSizeGroups.push_back({ buttonTheme_->GetTextStyle().GetFontSize(), 1 }); in PrepareTextButton()
260 preferTextSizeGroups.push_back({ buttonTheme_->GetMinFontSize(), MAX_LINES, TextOverflow::ELLIPSIS }); in PrepareTextButton()
269 textStyle_.SetTextColor(buttonTheme_->GetNormalTextColor()); in PrepareTextButton()
290 buttonDeclaration_->SetProgressColor(buttonTheme_ in PrepareDownloadButton()
[all...]
H A Ddom_button.h79 RefPtr<ButtonTheme> buttonTheme_; member in OHOS::Ace::Framework::final

Completed in 3 milliseconds