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

new: Layout widget #84

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open

Conversation

brewbytes-dev
Copy link
Contributor

Layout widget added

Returns rows with predefined number of buttons.
Layout with layout=(1, 2, 3) returns the same as:

Row(buttons[:1]),
Row(buttons[1:3]),
Row(buttons[3:6])

'layout' value should be defined in getter, feel free to suggest a better name

Copied get_identity, ItemsGetter in compliancy with select, list modules (both has own objects)
I also suggest thinking about merging Layout and Group in one object.

Copy link

@btrx-atikhonov btrx-atikhonov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Add option to repeat sizes if there are more rows
  • Documentations please

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

Successfully merging this pull request may close these issues.

None yet

3 participants