-
-
Notifications
You must be signed in to change notification settings - Fork 243
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
[BasicUI] Implement Buttongrid widget #2195
Conversation
Still work in progress but here is the current result with the following sitemap:
On desktop: On tablet (max 8 columns) and with dark theme: On phone (max 4 columns) and with icons disabled: |
da651b9
to
64b1ad2
Compare
Support grids containing from 1 to 12 columns. Only the first 8 columns are rendered on tablet. Only the first 4 columns are rendered on phone. Related to openhab/openhab-core#3441 Signed-off-by: Laurent Garnier <lg.hc@free.fr>
64b1ad2
to
b67a1be
Compare
@kaikreuzer : I am now satisfied with the result. I tested with grids containing from 1 to 12 columns and I tested on Firefox mainly but also quickly with Edge and Chrome. I believe it is ready for review and an interesting new feature for OH 4.1 ;) |
@kaikreuzer : please do not forget me. Maybe you can have a look to the capture screenshots first? |
.../org.openhab.ui.basic/src/main/java/org/openhab/ui/basic/internal/render/SwitchRenderer.java
Show resolved
Hide resolved
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.
Thanks!
Excellent, thank you. A new feature to be mentioned in the final release notes ;) |
Support grids containing from 1 to 12 columns.
Only the first 8 columns are rendered on tablet.
Only the first 4 columns are rendered on phone.
Related to openhab/openhab-core#3441
Signed-off-by: Laurent Garnier lg.hc@free.fr