Browse files

UI: Add flex pressure to tab content.

On vertical game settings, didn't end up with size at all.  But even with
that fixed, they don't properly fill their parent.
  • Loading branch information...
unknownbrackets committed Dec 12, 2017
1 parent 7c03d69 commit 48c0407f21901dec71958cf6cd7a00fdeced3a51
Showing with 1 addition and 1 deletion.
  1. +1 −1 ext/native/ui/viewgroup.cpp
@@ -1128,7 +1128,7 @@ TabHolder::TabHolder(Orientation orientation, float stripSize, LayoutParams *lay
tabStrip_->OnChoice.Handle(this, &TabHolder::OnTabClick);
contents_ = new AnchorLayout(new LinearLayoutParams(1.0f));
contents_ = new AnchorLayout(new LinearLayoutParams(FILL_PARENT, FILL_PARENT, 1.0f));

0 comments on commit 48c0407

Please sign in to comment.