kriznik
(kriznik)
December 29, 2023, 10:28am
1
So newly there are some configuration for basic UI layout and such, which is nice.
But it started to render these empty dummy lines (which I’m using for ages):
Frame label="Lights" {
Switch item=Sauna_Outside label="Outside"
Text label="" icon=""
Switch item=Sauna_WSwitch label="Sauna"
Switch item=Sauna_Bathroom label="Bathroom"
Switch item=Utility_WSwitch label="Utillity"
Switch item=Garage_WSwitch label="Garage"
}
as
has there been change how label=“” and icon=“” is now handled?
Or any other reliable approach how to insert empty segment?
Thanks!
kriznik
(kriznik)
December 29, 2023, 10:41am
3
thanks!
that worked, and simple CTRL+F2 in vscode did it in 2s across my whole sitemap
1 Like
kriznik
(kriznik)
December 30, 2023, 5:04pm
4
huh, hit ctrl+f5 and layout changed as well
these lines was not there before, can that be disabled? havent seen setting for that. Pretty bad tho
Lolodomo
(Lolodomo)
December 30, 2023, 5:10pm
5
Do you mean the separator line?
It was already there before but its color has been changed a little for dark mode to make it more visible.
kriznik
(kriznik)
December 30, 2023, 5:12pm
6
yeah separator line color i meant.
can i locally change it somehow somewhere?
Lolodomo
(Lolodomo)
December 30, 2023, 5:14pm
7
No, it is something defined by the theme.
kriznik
(kriznik)
December 30, 2023, 6:29pm
8
what about
/var/lib/openhab/tmp/mvn/org/openhab/ui/bundles/org.openhab.ui.basic/4.1.0/org.openhab.ui.basic-4.1.0.jar
and file
web/smarthome.css
I see the responsible css definition
Is this file unpacked during OH start so if I change content of it, it will adjust look&feel?
kriznik
(kriznik)
January 1, 2024, 10:46pm
9
answer for myself and others.
Yes, kind of
I’ve copied jar file elsewhere, removed basic UI from OH
Then inside jar edited
web/smarthome.css
and then whole jar I’ve copied into
/usr/share/openhab/addons
and voala, all changes are there
1 Like