The Wayback Machine - https://web.archive.org/web/20200716102513/https://github.com/CosmicMind/Material/issues/1192
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

Horizontal Radio Group #1192

Open
CHONUMAN opened this issue Nov 30, 2018 · 7 comments
Open

Horizontal Radio Group #1192

CHONUMAN opened this issue Nov 30, 2018 · 7 comments

Comments

@CHONUMAN
Copy link

@CHONUMAN CHONUMAN commented Nov 30, 2018

Is there any way to implement horizontal radio button group?

@OrkhanAlikhanov
Copy link
Member

@OrkhanAlikhanov OrkhanAlikhanov commented Dec 2, 2018

There isn't any way right now. We'll probably rework some parts of {Check,Radio}ButtonGroup to add delegations etc. in the future. We can add this feature at that time.

@danieldahan
Copy link
Member

@danieldahan danieldahan commented Dec 2, 2018

@CHONUMAN thank you for the question. Yes, @OrkhanAlikhanov let's make note of this and add it when we have a chance. @CHONUMAN if you want to make a PR, we would be happy to help. Thank you.

@danieldahan danieldahan closed this Dec 2, 2018
Open Source automation moved this from to do to done Dec 2, 2018
@pandeyshivang
Copy link

@pandeyshivang pandeyshivang commented Apr 5, 2019

Any news about this issue.

@OrkhanAlikhanov
Copy link
Member

@OrkhanAlikhanov OrkhanAlikhanov commented Apr 5, 2019

@pandeyshivang Not yet. I think you can achieve this by placing RadioButtons inside a UIStackView.

@pandeyshivang
Copy link

@pandeyshivang pandeyshivang commented Apr 19, 2019

@pandeyshivang Not yet. I think you can achieve this by placing RadioButtons inside a UIStackView.
and what about inside collectionview?

@OrkhanAlikhanov
Copy link
Member

@OrkhanAlikhanov OrkhanAlikhanov commented Apr 22, 2019

It's possible with CollectionView too but it would a bit headache since you need to create a cell with RadioButton then register it etc. I'd go with UIStackView.

@danieldahan
Copy link
Member

@danieldahan danieldahan commented Apr 22, 2019

Actually this can be achieved using Grid and adding buttons to the container.grid.views = [] and set a horizontal direction. I am going to reopen this and put it into our list of items to document.

@danieldahan danieldahan reopened this Apr 22, 2019
Open Source automation moved this from done to to do Apr 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Open Source
  
To do
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants
You can’t perform that action at this time.