Skip to content

Members with lots of parameters wrap poorly in the index views #2408

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

Closed
Hixie opened this issue Oct 27, 2020 · 3 comments · Fixed by #3044
Closed

Members with lots of parameters wrap poorly in the index views #2408

Hixie opened this issue Oct 27, 2020 · 3 comments · Fixed by #3044
Labels
area-web-design Something a web designer interested in helping could do. P2 A bug or feature request we're likely to work on

Comments

@Hixie
Copy link
Contributor

Hixie commented Oct 27, 2020

e.g. https://master-api.flutter.dev/flutter/material/TabBar-class.html

The constructor looks like this:

Constructors
TabBar({Key? key, required List<
   Widget> tabs, TabController? controller, bool isScrollable: false, Color? indicatorColor, double indicatorWeight: 2.0, EdgeInsetsGeometry indicatorPadding: EdgeInsets.zero, Decoration? indicator, TabBarIndicatorSize? indicatorSize, Color? labelColor, TextStyle? labelStyle, EdgeInsetsGeometry? labelPadding, Color? unselectedLabelColor, TextStyle? unselectedLabelStyle, DragStartBehavior dragStartBehavior: DragStartBehavior.start, MouseCursor? mouseCursor, ValueChanged<int
   >? onTap, ScrollPhysics? physics})
Creates a material design tab bar. [...]
const
@jcollins-g jcollins-g added area-web-design Something a web designer interested in helping could do. P3 A lower priority bug or feature request P2 A bug or feature request we're likely to work on and removed P3 A lower priority bug or feature request labels Oct 30, 2020
@jcollins-g
Copy link
Contributor

Looks like our breaks are not set up properly? This could be an issue on smaller screens / mobile too even for smaller sets of parameters, so setting to P2.

@mleonhard
Copy link

#2620 has an extreme example and screenshots.

Let's rename this issue to an action. Suggestion: "Add line breaks to large param lists for readability."

@jamesderlin
Copy link

This issue shouldn't be about adding line-breaks, it should be about making the text wrappable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-web-design Something a web designer interested in helping could do. P2 A bug or feature request we're likely to work on
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants