I’m trying to get my head around the widget development but I must admit it’s a bit overwhelming.
I’m trying to create as a row with three columns with a text to the left, a stepper in the center and a text to the right. First, after looking into lots of code examples I found the component “Label” for presenting a text, but I’m not really sure where this comes from since I find no reference in OH or the F7 framework. Is Label the one, or should I be using some other component for presenting a text like this?
Second question is regarding the F7-stepper. I have tried to find a way to center/align the stepper in the same way as the texts are centered in the columns through text-align. When searching the Framework7 documentation for stepper (here: Stepper Vue Component | Framework7 Vue Documentation) I found nothing about align/justification. I’m not even sure I’m looking in the proper documentation/component reference…
- component: f7-row
slots:
default:
- component: f7-col
slots:
default:
- component: Label
config:
style:
text-align: center
text: Text to the left
- component: f7-col
slots:
default:
- component: f7-stepper
config:
item: =props.offset
- component: f7-col
slots:
default:
- component: Label
config:
style:
text-align: center
text: Text to the right