Hello,
since updating to openhab 4.3.3, the values on my Raspberry Pi display with fixgrid page are no longer centered in the widget field. The value is shifted downwards.
I have found out that it obviously has to do with the low resolution of 800x480. At around 1280x720 everything is displayed correctly.
config:
colNum: 6
fixedType: grid
hideNavbar: true
hideSidebarIcon: false
label: Terminal OG Flur
layoutType: fixed
scale: false
screenHeight: 480
screenWidth: 800
showFullscreenIcon: true
sidebar: true
style:
--f7-page-bg-color: transparent
background-image: url('https://img.freepik.com/fotos-kostenlos/lebhafter-verschwommener-bunter-hintergrund_58702-2622.jpg?t=st=1736273145~exp=1736276745~hmac=83fb653841b19b2197f4ed058da0df5328238da936ccd9776d793733d49a0b5a&w=2000')
background-repeat: no
background-size: cover
blocks: []
masonry: []
grid:
- component: oh-grid-item
config:
h: 2
w: 3
x: 0
y: 0
slots:
default:
- component: oh-image-card
config:
actionModal: page:page_e82710d253
noBorder: true
noShadow: true
outline: true
url: url
- component: oh-grid-item
config:
h: 1
w: 1
x: 3
y: 0
slots:
default:
- component: oh-label-card
config:
action: group
actionGroupPopupItem: FgrpHomeFK_OpenStatus
background: '=(items.FgrpHomeFK_OpenStatus.state === "CLOSED") ? "#4cd964" :
"#ff3b30"'
fontWeight: bold
iconUseState: true
item: FgrpHomeFK_OpenStatus
title: Fenster
- component: oh-grid-item
config:
h: 1
w: 1
x: 3
y: 1
slots:
default:
- component: oh-label-card
config:
action: group
actionGroupPopupItem: FgrpHomeTK_OpenStatus
background: '=(items.FgrpHomeTK_OpenStatus.state === "CLOSED") ? "#4cd964" :
"#ff3b30"'
fontWeight: bold
iconUseState: true
item: FgrpHomeTK_OpenStatus
title: Türen
- component: oh-grid-item
config:
h: 1
w: 2
x: 4
y: 0
slots:
default:
- component: oh-label-card
config:
action: popup
actionGroupPopupItem: FgrpOgWhg_Temperature
actionModal: page:page_bb42681494
icon: f7:house_fill
iconUseState: false
item: FgrpOgWhg_Temperature
label: =items.FgrpOgWhg_Temperature.displayState + ' / ' +
items.FgrpOgWhg_Humidity.displayState
title: Klima Wohnung
vertical: false
- component: oh-grid-item
config:
h: 1
w: 2
x: 4
y: 1
slots:
default:
- component: oh-label-card
config:
icon: f7:tree
label: =items.UgHzrZentralheizung_AussentemperaturIstwert.state + ' / ' +
items.EgTerTHPSensor_Humidity.displayState
title: Klima Außenbereich
- component: oh-grid-item
config:
h: 1
w: 1
x: 5
y: 3
slots:
default:
- component: oh-clock-card
config:
actionModal: page:page_f53ba3b1ce
dateFontSize: "30"
dateFormat: L
showDate: true
timeFontWeight: bold
title: Zeit
- component: oh-grid-item
config:
h: 1
w: 1
x: 1
y: 2
slots:
default:
- component: oh-list-card
config:
title: Geräte
slots:
default:
- component: oh-toggle-item
config:
item: OgWzFernseher_Betrieb
title: TV
- component: oh-grid-item
config:
h: 1
w: 1
x: 5
y: 2
slots:
default:
- component: oh-label-card
config:
item: EgTrhStromzaehler_Tageskosten
title: Strom €/Tag
- component: oh-grid-item
config:
h: 1
w: 1
x: 4
y: 2
slots:
default:
- component: oh-label-card
config:
action: popup
actionModal: page:page_e0d92b4d14
item: UgHzrWasserzaehler_Tageskosten
title: Wasser €/Tag
- component: oh-grid-item
config:
h: 1
w: 1
x: 4
y: 3
slots:
default:
- component: oh-label-card
config:
action: popup
actionModal: page:page_f53ba3b1ce
item: UgHzrZentralheizung_Brennstofftageskosten
title: Heizung €/Tag
- component: oh-grid-item
config:
h: 2
w: 2
x: 2
y: 2
slots:
default:
- component: oh-swiper-card
config:
pagination: true
slots:
default:
- component: oh-label-card
config:
item: EgTrhStromzaehler_Netzeinspeiseleistung
title: Leistungsüberschuss
- component: oh-label-card
config:
label: =items.EgTrhStromzaehler_Netzbezugsleistung.state + ' / ' +
items.EgWktPV_Anlage_Power.state
title: Netzbezug / Einspeisung PV
- component: oh-gauge-card
config:
action: popup
actionModal: page:page_5613db1a0e
borderColor: green
borderWidth: "15"
item: EgWktPV_Anlage_Tageseinspeisegewinn
max: 1
min: 0
title: Tagesgewinn PV
type: semicircle
- component: oh-grid-item
config:
h: 1
w: 1
x: 0
y: 2
slots:
default:
- component: oh-label-card
config:
action: group
actionCommand: OFF
actionGroupPopupItem: FgrpOgWhg_Licht
actionItem: FgrpOgWhg_Licht
background: '=(items.FgrpOgWhg_Licht.state === "ON") ? "#ffd700" : "#bebebe"'
item: FgrpOgWhg_Licht
title: Licht Wohnung
- component: oh-grid-item
config:
h: 1
w: 2
x: 0
y: 3
slots:
default:
- component: oh-list-card
config:
title: Einstellungen
slots:
default:
- component: oh-slider-item
config:
item: OgFlrTerminal_Bildschirmhelligkeit
max: 100
min: 15
step: 5
title: Display
canvas: []
Does anyone have a solution?
Thx, Armin