issueNo: I441YT

Description:fix show/display bug.
Feature or Bugfix:Bugfix
Binary Source:No

Signed-off-by: youzhi92 <chenyouzhi@huawei.com>
Change-Id: Ie8b4512e6e6b4e3329833f80f22aecd4668a400b
This commit is contained in:
youzhi92
2021-08-05 16:08:13 +08:00
parent b3395f0399
commit 2d91a0de0a
+2 -1
View File
@@ -430,7 +430,8 @@ bool Component::IsLayoutRelatedAttrs(uint16_t attrKeyId) const
attrKeyId == K_PADDING || attrKeyId == K_PADDING_BOTTOM || attrKeyId == K_PADDING_LEFT ||
attrKeyId == K_PADDING_RIGHT || attrKeyId == K_PADDING_TOP || attrKeyId == K_BORDER_BOTTOM_WIDTH ||
attrKeyId == K_BORDER_LEFT_WIDTH || attrKeyId == K_BORDER_RIGHT_WIDTH || attrKeyId == K_BORDER_TOP_WIDTH ||
attrKeyId == K_BORDER_WIDTH || attrKeyId == K_BORDER_RADIUS || attrKeyId == K_LEFT || attrKeyId == K_TOP);
attrKeyId == K_BORDER_WIDTH || attrKeyId == K_BORDER_RADIUS || attrKeyId == K_LEFT || attrKeyId == K_TOP ||
attrKeyId == K_SHOW || attrKeyId == K_DISPLAY);
}
void Component::ApplyAlignedPosition(UIView &uiView) const