-
-
Notifications
You must be signed in to change notification settings - Fork 287
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: Login button whole width centre #2668
fix: Login button whole width centre #2668
Conversation
Few comments for you that might be helpful
|
|
Hey @prathamsoni11 |
ok |
@monsieurtanuki |
@AshAman999 Not really. Just run Btw @prathamsoni11 I'm still waiting for answers and for a screenshot on tablets. |
Can I send the screenshot of web version? |
There's no web version. |
ok sending |
@M123-dev Does the screenshot on tablet match your expectations? |
Yes it's great that it's in center. Maybe we could put it as a trailing on big devices, but as the whole UI is aimed at mobile users we don't need to do that here |
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.
@prathamsoni11 I'm afraid that your code works only on the main settings page. But not in the account settings page.
if (type == PreferencePageType.ACCOUNT) { | ||
children.add( | ||
Container( | ||
margin: const EdgeInsets.symmetric(horizontal: LARGE_SPACE * 7), |
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.
It's probably 6
rather than 7
. Or 8
, I don't know.
Or maybe a Center
would do the trick, wouldn't it?
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.
@prathamsoni11 ping
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.
maybe 6 would be better
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.
Forget about 6
. For instance use something related to the screen width.
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.
ok
Sorry I cannot get the page you are referring about. Can you justify it more? |
I thought the button was used somewhere else. It's not, you're right, forget about that. |
@monsieurtanuki |
@prathamsoni11 For the record I have very little interest in UI in general, and both screenshots look good. |
done with commit |
@prathamsoni11 ping |
All test passed 👍🏻 |
Of course they did: those "tests" generate the screenshots we have to test against. |
done |
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.
Thank you @prathamsoni11!
What
Screenshot
Fixes bug(s)
Part of