Lines Matching refs:widget
43 Widget widget{"test"};
45 widget.SetBounds(widOriBounds);
46 widget.SetAttr(UiAttr::VISIBLE, "true");
47 widget.SetAttr(UiAttr::TYPE, "Scroll");
48 plain->RefreshWidgetBounds(widget);
49 ASSERT_EQ(widget.GetAttr(UiAttr::VISIBLE), "false");
50 auto rect = widget.GetBounds();
70 Widget widget{"test"};
72 widget.SetBounds(widOriBounds);
73 plain->RefreshWidgetBounds(widget);
74 ASSERT_EQ(widget.GetAttr(UiAttr::VISIBLE), "false");
75 auto rect = widget.GetBounds();
95 Widget widget{"test"};
97 widget.SetBounds(widOriBounds);
98 plain->RefreshWidgetBounds(widget);
99 ASSERT_EQ(widget.GetAttr(UiAttr::VISIBLE), "true");
100 auto rect = widget.GetBounds();