Jump to content

Show icon in tabs


photo

Recommended Posts

Hi all,

It would be nice to optionally define a texture path when a new tab is added to the WidgetTabBox as icon on the left side of the tab (as web browsers like chrome does)

post-59-0-99123700-1314944328_thumb.jpg

The UnigineScript code will look like:

//WidgetTabBox
void addTab(string title,string texture)
string getTabTexture(int tab)
void setTabTexture(int tab,string texture)

 

Thanks.

 

Note: Even better, add a flag to represent the close tab icon on the right side as shown in the screenshot.

void closeTabIconEnabled(int enabled)

post-59-0-99123700-1314944328_thumb.jpg

  • Like 1
Link to comment
×
×
  • Create New...