[SOLVED] MenuBar - Justified Itens

Answered
0
0

Hi.

I need to distribute the Menubar itens along then Menubar width (Justifie).

I try the CSS but didin´t get it.

What I missed ?

Regards

 

 

  • You must to post comments
Best Answer
0
0

Hi Marcelo

In current 2.2 versions you must use this workaround

Put this javascript code into InistScript property for MenuBar control

this.getMenuBar().getChildren().forEach(menuItem => menuItem.setLayoutProperties({ flex: 1 }));

In next 2.5 version will be avaylable a custom property for do this

Regards
Paul

  • You must to post comments
0
0

Thanks Paul

Great !! Works as expected…

Regards

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.