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
Fix tab button layout on mobile #2117
Conversation
Picked from Stuart's commit from PR fyne-io#1962
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think so, the problem is in AppTabs too, I have faced that problem just a couple of days ago, but it seems to be very random :( |
Does it work with this PR applied? |
It is hard to say, because it was a random bug 😕 |
Is there anything I can do to move this forward @Jacalz? It's been a couple of weeks since the last comment. |
Sorry, I don’t know. I could not see any difference before and after so I can’t comment on it much unfortunately. |
You don’t see the same as the screenshot I posted for doctabs? |
@andydotxyz
Doc tabs respect leading and trailing position, but AppTaps no (it is always at bottom), is that intended? |
Always use the shorter edge for mobile tab placement
You are quite right, something got messed up in transition. |
The different tab location restrictions were in the requesting ticket (#1310), though it is not a hill worth dying on - if someone really wanted tabs on the long edges of mobile then a custom drawer widget that slides out to display the tabs would probably give a better UX. |
Yeah this is more tidying up doc tabs to be consistent, but also resolving a mistake that somehow crept in to AppTabs too. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description:
Tab buttons were always rendered in a grid of columns, this PR uses a grid of rows when the tab location is leading or trailing
This is a re-application of "Fix tab button layout on mobile #1962" on top of the current
develop
code.Checklist: