Skip to content

Feature/7675 google button touch states - #8015

Closed
aerych wants to merge 4 commits into
developfrom
feature/7675-google-button-touch-states
Closed

Feature/7675 google button touch states#8015
aerych wants to merge 4 commits into
developfrom
feature/7675-google-button-touch-states

Conversation

@aerych

@aerych aerych commented Oct 19, 2017

Copy link
Copy Markdown
Contributor

Refs #7675
Tweaks the google button so it shows a tapped state. I opted to use light blue for the tapped state for consistency with hovers in Calypso and the behavior of link-style buttons in the iOS reader.

Normal:
screen shot 2017-10-19 at 3 36 12 pm

Pressed:
simulator screen shot - iphone 6s - 2017-10-19 at 16 05 45

To test:
View the LoginEmailViewController and tap the button. Confirm that it changes state.

Needs review: @nheagy for code & @folletto for style

@nheagy

nheagy commented Oct 19, 2017

Copy link
Copy Markdown
Contributor

@aerych moving the code into a WPStyleGuide extension looks good, but you've also removed important layout code.

login button changes

As you can see, setAttributedTitle doesn't work very well. We'll need to keep the previous functionality—probably by restoring the old code. Let me know what you think.

@aerych

aerych commented Oct 19, 2017

Copy link
Copy Markdown
Contributor Author

🤦‍♂️ Ugh. I had it in my head that we wanted it to truncate for some reason. Yeah this is gonna need a rethink.

@aerych

aerych commented Oct 19, 2017

Copy link
Copy Markdown
Contributor Author

Closing this. The truncation is necessary and I totally spaced on that. I'll revisit in a new pr.

@aerych aerych closed this Oct 19, 2017
@aerych
aerych deleted the feature/7675-google-button-touch-states branch October 19, 2017 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants