OH4 Main UI Label-Card: Align text (value) right


how can i align the text to the right side?
Tried a lot and used google but wasn’t able to solve this.

This is the yaml, but the text is in the middle and not alligned right:

component: oh-label-card
  action: options
  actionOptions: 15,16,17,18,19,20,21,22,23,24
  actionItem: heizungZimmerLaraVentil_Set_Temperature
  item: heizungZimmerLaraVentil_Actual_Temperature
  label: '=("Lara Ist: " + items.heizungZimmerLaraVentil_Actual_Temperature.state
    + " / Soll: " + items.heizungZimmerLaraVentil_Set_Temperature.state)  '
  icon: oh:temperature
  stylesheet: |
    .item-content {
       padding: 0;
  fontSize: "12"
slots: null

THX in advance and BR

Try starting here:

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.