Chrome 85.0.4183.83 (Official Build) (64-bit)
Client-side only: v12.0p_2020-02-02/LGPL Deployment
I am looking for a way to set a max-width on a TabSet tab button/title. By default, the width of the tab button will expand based on the title length. I want it to do this, but only to a certain width... i.e. something along the lines of a maxTabWidth property or something similar.
I have tried several things, including the following:
- setting maxWidth on button properties, within tabBar properties:
- setting maxWidth and overflow on the same set of properties:
- setting width on tab after initialization/adding of the tab:
- setting width on tab at initialization/adding of the tab with the tab properties:
- setting width and/or maxWidth on tab at initialization/adding of the tab with the tab properties:
and I think some other things as well but at this point I am perplexed how to figure this one out. Is there anything that I can do to achieve this? Thanks in advance.
Client-side only: v12.0p_2020-02-02/LGPL Deployment
I am looking for a way to set a max-width on a TabSet tab button/title. By default, the width of the tab button will expand based on the title length. I want it to do this, but only to a certain width... i.e. something along the lines of a maxTabWidth property or something similar.
I have tried several things, including the following:
- setting maxWidth on button properties, within tabBar properties:
Code:
TabSet.tabBarProperties: { buttonProperties: { maxWidth: 100 } }
Code:
TabSet.tabBarProperties: { buttonProperties: { maxWidth: 100, overflow: "hidden" } }
Code:
this.setTabProperties(tab, { width: 100 });
Code:
this.addTab({ width: 100 });
Code:
this.addTab({ width: 100, maxWidth: 100 });
Comment