Jump to content

[SOLVED] How do some little thing with UI File ?


photo

Recommended Posts

Hi,

 

I m playing with UI file and i have some trouble for do two things.

1) I have a toolbar really similar to the toolbar inside the Unigine Editor (editor_panel.ui) but i want my toolbar take the width of my app. I don't find the good parameter to do that directly inside the ui file.
For solve my problem i just check if the app width is different of the current with of my toolbar in each update and if is different i resize it. I hope there is a better solution.

 

2) My toolbar have some goup of icon and i separate the group by vspacer. But some time i can hide all the group and i have two vspacer without icon between. I try to add a name to my vspacer

(<vspacer name="EditorGui::ToolBar::module_s" align="expand" hidden="1"/>) but i can't switch the visibility of the vspacer because my module_s is always null.

If somebody can help.

Thanks 

Link to comment
×
×
  • Create New...