UI: Always clip tab contents.

So they don't overlap tabs or etc. on transition.
This commit is contained in:
Unknown W. Brackets committed 2017-12-10 14:57:58 -08:00
1 parent 21272a4c24
commit ed2ac95bbb
1 file changed
+1 -1
+1 -1
View File
@@ -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) {