Einrichtung der openHAB Umgebung und allgemeine Konfigurationsthemen.
Moderatoren: seppy, udo1toni
-
scotty
- Beiträge: 676
- Registriert: 28. Apr 2020 04:44
-
Answers: 0
Beitrag
von scotty »
Hallo,
ich möchte den Text eines Buttons innerhalb eines Widgets aus Platzgründen senkrecht anordnen.
Code: Alles auswählen
- component: oh-button
config:
action: navigate
actionPage: page:test
iconF7: house_fill
text: irgendwas
outline: true
style:
height: 200px
right: 120px
top: 200px
width: 80px
Ist das überhaupt möglich?
Zuletzt geändert von
scotty am 8. Apr 2023 18:36, insgesamt 1-mal geändert.
OH 3.4.5 im Docker auf Synology DS918+ mit USV, Reolink-RLC-511WA, Philips Hue, AVM Fritz!Box 6591C, Alexa, Logitech Harmony und diversen Shelly's
-
scotty
- Beiträge: 676
- Registriert: 28. Apr 2020 04:44
-
Answers: 0
Beitrag
von scotty »
Dank der Unterstützung im englischen Forum habe ich folgende Lösung erarbeitet:
Code: Alles auswählen
- component: oh-button
config:
action: navigate
actionPage: page:overview
outline: true
iconF7: house_fill
text: " HOME PAGE"
style:
height: 200px
right: 120px
top: 200px
width: 80px
padding-left: 24px
writing-mode: vertical-lr
text-orientation: upright
OH 3.4.5 im Docker auf Synology DS918+ mit USV, Reolink-RLC-511WA, Philips Hue, AVM Fritz!Box 6591C, Alexa, Logitech Harmony und diversen Shelly's