Hi,
I was wondering where the option was in the designer or theme where I can show the close button on all tab headers?
At the moment I have used the theme to color the tab and align the close button, but the tab close button only appears on the focussed tab.
I have seen a few samples apps where the close is always visible on all tabs.
Thanks,
Brayden.
Hi Brayden
Checking this with the product team, I update you.
The pictures that you see on the case studies for Harris dont use a tab control. This case use a custom theme for show MDI forms and using a main container page with a Form with property isMdiContainer=true
1.- For modify only MDI container to show X in all tabs, you can use this code
Application.Theme.Appearances.tabview.components.page.components.button.states.@default.properties.showClose = true;
2.- For modify MDI container and also any tab control in your app, follow the nexts steps
In the themes designer, you must modify any of the preexisting themes, change the next property and save as the theme with the name you desire.
Application.Theme.Appearances.tabview.components.page.components.button.states.@default.properties.showClose = true
After that, copy the modified theme under the empty folder Thems of your project
Finally, in the Default.json config file, add new entry for your custom theme. For example
"url": "Default.html",
"startup": "MDIExample.Program.Main, MDIExample",
"theme": "MDIClosebutton"
You can see this into the picture. And also I attach the public sample MDIchild, using a modified theme with this settings.
HTH
Regards
Hi Brayden
Thanks for your suggestion
We will evaluate this enhancement to be implemented in a future release
Regards.
Please login first to submit.