-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UI : Container length of TabStatefulScaffold in "Cupertino style" changes when switching tabs #95
Comments
Nice catch! How about expanding the tabbar to full width? Then it would have enough space. |
Perfect. In the Apple Human Interface Guidelines, the Segmented Controls are always full width.
I'm so bad at coding. You have Here's an example for 2 segments, which would apply to the GitTouch |
Would |
For example, in the Github
Notificiations_Screen
, the word "Participating" is long. When the tab isselected
, it expands the entire Tab widget. This is mostly likely because theselected
state has a heavierfontweight
, thus expanding the entire parent Container Widget. This occurs in Cupertino style only.Possible fix: When tab is active, do not change the
fontweight
.I only started learning coding and Flutter a few months ago, so if I figure it out I'll submit a merge.
The text was updated successfully, but these errors were encountered: