OH 4.1.0 changed behaviour in basicUI -> how to fix it?

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!

Try icon=“none”

thanks!

that worked, and simple CTRL+F2 in vscode did it in 2s across my whole sitemap :slight_smile:

1 Like

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 :thinking:

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.

yeah separator line color i meant.

can i locally change it somehow somewhere?

No, it is something defined by the theme.

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?

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 :wink:

1 Like