How to set underline in tab?

Hi,

I have a tab like in the picture.

line

How I can add this underline, which is marked with red color in cuba?
From source code?

Thanks

If you are using studio…

image

1 Like

Hello @spamhater.alex

To add these separators declaratively you can do it with CUBA Studio as @tommeacham described. Studio will add <separator/> items into your web-menu.xml config.

Or you can programmatically create separator with AppMenu#createSeparator method and then add it with the addMenuItem() method.

Regards
Daniil.

1 Like

Thanks a lot,

it works like a charm :slight_smile: