Permalink
Browse files

UI: Always clip tab contents.

So they don't overlap tabs or etc. on transition.
  • Loading branch information...
unknownbrackets committed Dec 10, 2017
1 parent 21272a4 commit ed2ac95bbbd30dab23ccece102fafe7a1d96ef4d
Showing with 1 addition and 1 deletion.
  1. +1 −1 ext/native/ui/viewgroup.cpp
@@ -1129,7 +1129,7 @@ TabHolder::TabHolder(Orientation orientation, float stripSize, LayoutParams *lay
tabStrip_->OnChoice.Handle(this, &TabHolder::OnTabClick);
contents_ = new AnchorLayout(new LinearLayoutParams(1.0f));
Add(contents_);
Add(contents_)->SetClip(true);
}
void TabHolder::AddTabContents(const std::string &title, View *tabContents) {

0 comments on commit ed2ac95

Please sign in to comment.