Skip to content
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

More / Different Buttons #53

Closed
JulesMoorhouse opened this issue Apr 13, 2015 · 11 comments
Closed

More / Different Buttons #53

JulesMoorhouse opened this issue Apr 13, 2015 · 11 comments

Comments

@JulesMoorhouse
Copy link

I would like to a button which has "Don't select an End Date", I have this as a full width button in an action sheet at the moment, but I need to upgrade, is there anyway I can add a full width button.

I thought I could re-use the now button and move it underneath the picker, but I can't :(

Any thoughts ?

@CooperRS
Copy link
Owner

Unfortunately, this is no way of adding new buttons using the current API. But I think this may be a nice to have feature for the future.

Also relates to #44

@JulesMoorhouse
Copy link
Author

That would be awesome

@CooperRS
Copy link
Owner

Hi,

what sort of customizations would you need for the buttons? Is it enough to be able to give a text or an image for the button or would you also want to change the font, the text color, the backgroundcolor and so on?

I'm thinking about an UIAlertController like API...

@JulesMoorhouse
Copy link
Author

As long as the style matched, just text, but full width, like an alert view

@CooperRS
Copy link
Owner

As you may have noticed I opened a new branch called feature/MoreButtons. I juts uploaded a first version which allows to add an arbitrary number of buttons. I would appreciate if you would take a look at it and give me some feedback.

Screenshot below shows current development state...

ios simulator screen shot 19 04 2015 19 59 46

@JulesMoorhouse
Copy link
Author

That looks good, although personally I was looking for full width buttons.

@CooperRS
Copy link
Owner

You mean Select and Cancel at the bottom? You can do that ;)

@CooperRS
Copy link
Owner

Like that?

ios simulator screen shot 19 04 2015 20 29 04

@JulesMoorhouse
Copy link
Author

Yep :)

Best regards,

Jules.
Sent from my iPhone

You can follow me on twitter @MindwarpJules

On 19 Apr 2015, at 19:29, Roland Moers notifications@github.com wrote:

Like that?


Reply to this email directly or view it on GitHub.

@JulesMoorhouse
Copy link
Author

I actually meant additional buttons

Best regards,

Jules.

On 19 Apr 2015, at 19:29, Roland Moers notifications@github.com wrote:

Like that?


Reply to this email directly or view it on GitHub.

@CooperRS
Copy link
Owner

Solved in the current master branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants