- Platform information:
- Hardware: amd64
- OS: Windows 10/10.0 (amd64)
- Java Runtime Environment: 11.0.12 (Zulu11.50+19-CA)
- openHAB version: openHAB 3.2.0.M4
Hi All
On my Overview I have an oh-cell with an f7-page with a f7-list.
My list has however gotten too long for the popup when I click on the oh-cell in Overview - so is getting truncated as I cannot find how to allow scrolling:
There should be 5 x Michael’s Phone X in the list.
My Code is as follows:
component: oh-cell
config:
color: '=(items.GPSMarkatHome.state === "ON") ? "green" :
(items.GPSRileyatHome.state === "OFF") ? "green" :
(items.GPSEthanatHome.state === "OFF") ? "green" : "red"'
on: true
title: Presence
slots:
default:
- component: f7-page
config:
style:
--f7-navbar-bg-color: white
--f7-navbar-border-color: white
--f7-navbar-font-size: 0px
--f7-navbar-height: 0px
--f7-navbar-link-color: black
--f7-navbar-text-color: black
z-index: 0
slots:
default:
- component: f7-list
config:
class:
- padding-bottom
slots:
default:
- component: Label
config:
style:
font-weight: 500
line-height: 20px
padding-left: 20px
text: Mackeurtan Ave
- component: oh-list-item
config:
color: '=(items.GPSMarkatHome.state === "OFF") ? "red" :
(items.GPSMarkatHome.state === "ON") ? "green" : "yellow"'
icon: f7:person_circle
iconColor: '=(items.GPSMarkatHome.state === "OFF") ? "red" :
(items.GPSMarkatHome.state === "ON") ? "green" : "yellow"'
iconUsesState: true
item: GPSMarkatHome
title: Mark's Phone
slots:
after:
- component: Label
config:
style:
color: '=(items.GPSMarkatHome.state === "OFF") ? "red" :
(items.GPSMarkatHome.state === "ON") ? "green" :
"yellow"'
font-weight: 500
line-height: 20px
padding-right: 20px
text: =(items.GPSMarkatHome.displayState)
- component: oh-list-item
config:
color: '=(items.GPSRileyatHome.state === "OFF") ? "red" :
(items.GPSRileyatHome.state === "ON") ? "green" :
"yellow"'
icon: f7:person_circle
iconColor: '=(items.GPSRileyatHome.state === "OFF") ? "red" :
(items.GPSRileyatHome.state === "ON") ? "green" :
"yellow"'
iconUsesState: true
item: GPSRileyatHome
title: Riley's Phone
slots:
after:
- component: Label
config:
style:
color: '=(items.GPSRileyatHome.state === "OFF") ? "red" :
(items.GPSRileyatHome.state === "ON") ? "green" :
"yellow"'
font-weight: 500
line-height: 20px
padding-right: 20px
text: =(items.GPSRileyatHome.displayState)
- component: oh-list-item
config:
color: '=(items.GPSEthanatHome.state === "OFF") ? "red" :
(items.GPSEthanatHome.state === "ON") ? "green" :
"yellow"'
icon: f7:person_circle
iconColor: '=(items.GPSEthanatHome.state === "OFF") ? "red" :
(items.GPSEthanatHome.state === "ON") ? "green" :
"yellow"'
iconUsesState: true
item: GPSEthanatHome
title: Ethan's Phone
slots:
after:
- component: Label
config:
style:
color: '=(items.GPSEthanatHome.state === "OFF") ? "red" :
(items.GPSEthanatHome.state === "ON") ? "green" :
"yellow"'
font-weight: 500
line-height: 20px
padding-right: 20px
text: =(items.GPSEthanatHome.displayState)
- component: oh-list-item
config:
color: '=(items.GPSAnneatHome.state === "OFF") ? "red" :
(items.GPSAnneatHome.state === "ON") ? "green" : "yellow"'
icon: f7:person_circle
iconColor: '=(items.GPSAnneatHome.state === "OFF") ? "red" :
(items.GPSAnneatHome.state === "ON") ? "green" : "yellow"'
iconUsesState: true
item: GPSAnneatHome
title: Anne's Phone
slots:
after:
- component: Label
config:
style:
color: '=(items.GPSAnneatHome.state === "OFF") ? "red" :
(items.GPSAnneatHome.state === "ON") ? "green" :
"yellow"'
font-weight: 500
line-height: 20px
padding-right: 20px
text: =(items.GPSAnneatHome.displayState)
- component: oh-list-item
config:
color: '=(items.GPSMichaelatHome.state === "OFF") ? "red" :
(items.GPSMichaelatHome.state === "ON") ? "green" :
"yellow"'
icon: f7:person_circle
iconColor: '=(items.GPSMichaelatHome.state === "OFF") ? "red" :
(items.GPSMichaelatHome.state === "ON") ? "green" :
"yellow"'
iconUsesState: true
item: GPSMichaelatHome
title: Michael's Phone
slots:
after:
- component: Label
config:
style:
color: '=(items.GPSMichaelatHome.state === "OFF") ? "red" :
(items.GPSMichaelatHome.state === "ON") ? "green"
: "yellow"'
font-weight: 500
line-height: 20px
padding-right: 20px
text: =(items.GPSMichaelatHome.displayState)
- component: Label
config:
style:
font-weight: 500
line-height: 20px
padding-left: 20px
text: Meadow Lane
- component: oh-list-item
config:
color: '=(items.GPSAnneatMeadow.state === "OFF") ? "red" :
(items.GPSAnneatMeadow.state === "ON") ? "green" :
"yellow"'
icon: f7:person_circle
iconColor: '=(items.GPSAnneatMeadow.state === "OFF") ? "red" :
(items.GPSAnneatMeadow.state === "ON") ? "green" :
"yellow"'
iconUsesState: true
item: GPSAnneatMeadow
title: Anne's Phone
slots:
after:
- component: Label
config:
style:
color: '=(items.GPSAnneatMeadow.state === "OFF") ? "red" :
(items.GPSAnneatMeadow.state === "ON") ? "green" :
"yellow"'
font-weight: 500
line-height: 20px
padding-right: 20px
text: =(items.GPSAnneatMeadow.displayState)
- component: oh-list-item
config:
color: '=(items.GPSMichaelatMeadow.state === "OFF") ? "red" :
(items.GPSMichaelatMeadow.state === "ON") ? "green" :
"yellow"'
icon: f7:person_circle
iconColor: '=(items.GPSMichaelatMeadow.state === "OFF") ? "red" :
(items.GPSMichaelatMeadow.state === "ON") ? "green" :
"yellow"'
iconUsesState: true
item: GPSMichaelatMeadow
title: Michael's Phone
slots:
after:
- component: Label
config:
style:
color: '=(items.GPSMichaelatMeadow.state === "OFF") ? "red" :
(items.GPSMichaelatMeadow.state === "ON") ?
"green" : "yellow"'
font-weight: 500
line-height: 20px
padding-right: 20px
text: =(items.GPSMichaelatMeadow.displayState)
- component: Label
config:
style:
font-weight: 500
line-height: 20px
padding-left: 20px
text: Wilden
- component: oh-list-item
config:
color: '=(items.GPSRileyatWilden.state === "OFF") ? "red" :
(items.GPSRileyatWilden.state === "ON") ? "green" :
"yellow"'
icon: f7:person_circle
iconColor: '=(items.GPSRileyatWilden.state === "OFF") ? "red" :
(items.GPSRileyatWilden.state === "ON") ? "green" :
"yellow"'
iconUsesState: true
item: GPSRileyatWilden
title: Riley's Phone
slots:
after:
- component: Label
config:
style:
color: '=(items.GPSRileyatWilden.state === "OFF") ? "red" :
(items.GPSRileyatWilden.state === "ON") ? "green"
: "yellow"'
font-weight: 500
line-height: 20px
padding-right: 20px
text: =(items.GPSRileyatWilden.displayState)
- component: oh-list-item
config:
color: '=(items.GPSEthanatWilden.state === "OFF") ? "red" :
(items.GPSEthanatWilden.state === "ON") ? "green" :
"yellow"'
icon: f7:person_circle
iconColor: '=(items.GPSEthanatWilden.state === "OFF") ? "red" :
(items.GPSEthanatWilden.state === "ON") ? "green" :
"yellow"'
iconUsesState: true
item: GPSEthanatWilden
title: Ethan's Phone
slots:
after:
- component: Label
config:
style:
color: '=(items.GPSEthanatWilden.state === "OFF") ? "red" :
(items.GPSEthanatWilden.state === "ON") ? "green"
: "yellow"'
font-weight: 500
line-height: 20px
padding-right: 20px
text: =(items.GPSEthanatWilden.displayState)
- component: Label
config:
style:
font-weight: 500
line-height: 20px
padding-left: 20px
text: Hoylake Drive
- component: oh-list-item
config:
color: '=(items.GPSAnneatHoylake.state === "OFF") ? "red" :
(items.GPSAnneatHoylake.state === "ON") ? "green" :
"yellow"'
icon: f7:person_circle
iconColor: '=(items.GPSAnneatHoylake.state === "OFF") ? "red" :
(items.GPSAnneatHoylake.state === "ON") ? "green" :
"yellow"'
iconUsesState: true
item: GPSAnneatHoylake
title: Anne's Phone
slots:
after:
- component: Label
config:
style:
color: '=(items.GPSAnneatHoylake.state === "OFF") ? "red" :
(items.GPSAnneatHoylake.state === "ON") ? "green"
: "yellow"'
font-weight: 500
line-height: 20px
padding-right: 20px
text: =(items.GPSAnneatHoylake.displayState)
- component: oh-list-item
config:
color: '=(items.GPSMichaelatHoylake.state === "OFF") ? "red" :
(items.GPSMichaelatHoylake.state === "ON") ? "green" :
"yellow"'
icon: f7:person_circle
iconColor: '=(items.GPSMichaelatHoylake.state === "OFF") ? "red" :
(items.GPSMichaelatHoylake.state === "ON") ? "green" :
"yellow"'
iconUsesState: true
item: GPSMichaelatHoylake
title: Michael's Phone 1
slots:
after:
- component: Label
config:
style:
color: '=(items.GPSMichaelatHoylake.state === "OFF") ? "red" :
(items.GPSMichaelatHoylake.state === "ON") ?
"green" : "yellow"'
font-weight: 500
line-height: 20px
padding-right: 20px
text: =(items.GPSMichaelatHoylake.displayState)
- component: oh-list-item
config:
color: '=(items.GPSMichaelatHoylake.state === "OFF") ? "red" :
(items.GPSMichaelatHoylake.state === "ON") ? "green" :
"yellow"'
icon: f7:person_circle
iconColor: '=(items.GPSMichaelatHoylake.state === "OFF") ? "red" :
(items.GPSMichaelatHoylake.state === "ON") ? "green" :
"yellow"'
iconUsesState: true
item: GPSMichaelatHoylake
title: Michael's Phone 2
slots:
after:
- component: Label
config:
style:
color: '=(items.GPSMichaelatHoylake.state === "OFF") ? "red" :
(items.GPSMichaelatHoylake.state === "ON") ?
"green" : "yellow"'
font-weight: 500
line-height: 20px
padding-right: 20px
text: =(items.GPSMichaelatHoylake.displayState)
- component: oh-list-item
config:
color: '=(items.GPSMichaelatHoylake.state === "OFF") ? "red" :
(items.GPSMichaelatHoylake.state === "ON") ? "green" :
"yellow"'
icon: f7:person_circle
iconColor: '=(items.GPSMichaelatHoylake.state === "OFF") ? "red" :
(items.GPSMichaelatHoylake.state === "ON") ? "green" :
"yellow"'
iconUsesState: true
item: GPSMichaelatHoylake
title: Michael's Phone 3
slots:
after:
- component: Label
config:
style:
color: '=(items.GPSMichaelatHoylake.state === "OFF") ? "red" :
(items.GPSMichaelatHoylake.state === "ON") ?
"green" : "yellow"'
font-weight: 500
line-height: 20px
padding-right: 20px
text: =(items.GPSMichaelatHoylake.displayState)
- component: oh-list-item
config:
color: '=(items.GPSMichaelatHoylake.state === "OFF") ? "red" :
(items.GPSMichaelatHoylake.state === "ON") ? "green" :
"yellow"'
icon: f7:person_circle
iconColor: '=(items.GPSMichaelatHoylake.state === "OFF") ? "red" :
(items.GPSMichaelatHoylake.state === "ON") ? "green" :
"yellow"'
iconUsesState: true
item: GPSMichaelatHoylake
title: Michael's Phone 4
slots:
after:
- component: Label
config:
style:
color: '=(items.GPSMichaelatHoylake.state === "OFF") ? "red" :
(items.GPSMichaelatHoylake.state === "ON") ?
"green" : "yellow"'
font-weight: 500
line-height: 20px
padding-right: 20px
text: =(items.GPSMichaelatHoylake.displayState)
- component: oh-list-item
config:
color: '=(items.GPSMichaelatHoylake.state === "OFF") ? "red" :
(items.GPSMichaelatHoylake.state === "ON") ? "green" :
"yellow"'
icon: f7:person_circle
iconColor: '=(items.GPSMichaelatHoylake.state === "OFF") ? "red" :
(items.GPSMichaelatHoylake.state === "ON") ? "green" :
"yellow"'
iconUsesState: true
item: GPSMichaelatHoylake
title: Michael's Phone 4
slots:
after:
- component: Label
config:
style:
color: '=(items.GPSMichaelatHoylake.state === "OFF") ? "red" :
(items.GPSMichaelatHoylake.state === "ON") ?
"green" : "yellow"'
font-weight: 500
line-height: 20px
padding-right: 20px
text: =(items.GPSMichaelatHoylake.displayState)
- component: oh-list-item
config:
color: '=(items.GPSMichaelatHoylake.state === "OFF") ? "red" :
(items.GPSMichaelatHoylake.state === "ON") ? "green" :
"yellow"'
icon: f7:person_circle
iconColor: '=(items.GPSMichaelatHoylake.state === "OFF") ? "red" :
(items.GPSMichaelatHoylake.state === "ON") ? "green" :
"yellow"'
iconUsesState: true
item: GPSMichaelatHoylake
title: Michael's Phone 5
slots:
after:
- component: Label
config:
style:
color: '=(items.GPSMichaelatHoylake.state === "OFF") ? "red" :
(items.GPSMichaelatHoylake.state === "ON") ?
"green" : "yellow"'
font-weight: 500
line-height: 20px
padding-right: 20px
text: =(items.GPSMichaelatHoylake.displayState)
Any suggestion son how I can get a scroll function?
Thanks
Mark