[SOLVED] - Font Size: Why is the font size of the unit always smaller than the item value? (same with widget name ...)

Hi Yannick, I do not mean it offensive :wink: of course you implement your widgets how you like them !!!
This is why I did not asked for a code change but simply for a tweak and it seems that I found it myself (at least the tweak that works for me :stuck_out_tongue_winking_eye:

I digged through the OpemHAB community and found this topic:

where the unit is simply moved from the Unit (in my german case it is “Einheit”) field:

to the Format field (and of cause removing the entry in the Unit field :wink:) :

Having the unit “°C” in the format field displays it in the same font size like the item value!!!

Problem solved!!!

To have all questions of my topic answered in one post - which I will mark as the solution - I will reference to Yannicks earlier post where he gives the workaround how to scale the font size of the Dummy widget name:

Quote start:

The unit was put in a <small> tag because I like it like this :man_shrugging:

You can create a CSS file (say habpanel-overrides.css ) in the html folder of your openHAB conf and >reference it as /static/habpanel-overrides.css in the advanced settings.
In the file put this:

.dummy-content small {
   font-size: 100% !important;
}

To change the font size of the label try:

.dummy-content span:first-child {
   font-size: 28px !important;
}

Quote end

Instead of a fixed font size (like 28px) I used a percentage bigger 100% (=> 120%) which fit my needs:

.dummy-content span:first-child {
    font-size: 120% !important;
}

Thanks Yannick for your response and support!!!