css font-size

Hi,

In webix 6.x, I try to change the size of a label using a css and it
doesn’t work (in 5.x this is ok) :

https://snippet.webix.com/571xtjag

Thanks

https://snippet.webix.com/0v6r0b11

Sorry but this is not the solution.
The solution for my problem is here
https://snippet.webix.com/yul18z9m
I just want to know why “font-size” doesn’t work when we call “css” with webix 6.x
Regards

Hello @Cusco,

The HTML structure of ui.label was changed in the recent update in order to unify its appearance with other form controls and provide the updated Webix tooltip correctly.

But truly, webix_el_boxhas the default styling for all controls which needs to be overwritten with a more complex selector.

The applicable in all Webix versions solution is

.mainLabel>div {
    font-size: 30px;
    font-family: cursive;
}

But starting from 6.2, you could apply .mainLabel>.webix_el_boxas well.

Hi,
I face one problem with label css too.
When label is in a toolbar, font css won’t apply.
See https://snippet.webix.com/5bqnrggx

Thanks

Hi, the selector should be different Code Snippet

Perfect !
Don’t understand why I did not see this one. :face_with_raised_eyebrow:
Thanks

It sometimes happens, cheers :slight_smile: