As far as i can see within the dhx_skyblue theme for a tabbar there’s no
padding between the title text and the closing icon. Is this right?
How can that be changed?
And, tabbar doesn’t support an tab icon? That’s strange. Is that right?
And if are there any plans to support this?
Hi
There is no padding, because “close” image has z-index “11px”, which is more then a tab.
You can add icon manually.
I put a code snippets and a picture with result below:
Oh man.
Why are little things always that complicated.
The application i build updates the tab title every 2 minutes.
Happens when user works with it.
With every reload or action event icon changes and title changes.
Yes indeed, its an application.
Do i really have to code all this ???
As far as i can see within the dhx_skyblue theme for a tabbar there’s no padding between the title text and the closing icon.
Tab title is centered in tab. When you set auto width for a tab ("*"), the tab size is adjusted to text width + 20 px paddings. If tabs are inactive, there will be a 10px space between text and close icon. However, an active tab gets bold font. In this case the size of tab text is increased, and it means that space between text and close icon is decreased - it is about 1px. You may increase the paddings with the following code modification in dhtmlxtabbar.js:
Had a look over to a similiar framework and MS Windows and
came to the conclusion that only a dynamic tab size calculation
will bring a pixel perfect layout.
I add this point add to personal agenda and work on it sometime later.
I will report efforts here so far s.o. is interested.
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan