mirror of
https://gitee.com/openharmony/arkui_ace_engine
synced 2024-11-23 23:21:05 +00:00
!38362 grid新增alignItems接口dump
Merge pull request !38362 from tomkl123/20240721_alignitems_dump
This commit is contained in:
commit
3ea5804a26
@ -1721,6 +1721,16 @@ void GridPattern::DumpAdvanceInfo()
|
||||
property->GetScrollEnabled().has_value()
|
||||
? DumpLog::GetInstance().AddDesc("ScrollEnabled:" + std::to_string(property->GetScrollEnabled().value()))
|
||||
: DumpLog::GetInstance().AddDesc("ScrollEnabled:null");
|
||||
switch (property->GetAlignItems().value_or(GridItemAlignment::DEFAULT)) {
|
||||
case GridItemAlignment::STRETCH: {
|
||||
DumpLog::GetInstance().AddDesc("AlignItems:GridItemAlignment.STRETCH");
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
DumpLog::GetInstance().AddDesc("AlignItems:GridItemAlignment.DEFAULT");
|
||||
break;
|
||||
}
|
||||
}
|
||||
switch (gridLayoutInfo_.scrollAlign_) {
|
||||
case ScrollAlign::NONE: {
|
||||
DumpLog::GetInstance().AddDesc("ScrollAlign:NONE");
|
||||
|
Loading…
Reference in New Issue
Block a user