Page 1 of 1

tabs width

Posted: Thu May 07, 2020 9:09 am
by keldi
Hello!

What does the parameter sectionbar.tab.width.min in cintanotes.settings do?

I see the difference when I change sectionbar.tab.width.max, but nothing changes when I edit sectionbar.tab.width.min.

Re: tabs width

Posted: Fri May 08, 2020 2:00 am
by CintaNotes Developer
Hello,

this parameter determines the minimum width section tabs should have.
Generally, a tab's width is determined by the formula <CN's window client width> / <number of tabs>.
But if there are too many tabs, this number can become very small and the tab name won't be visible.
This parameter regulates to which extent the tabs can shrink before scrolling kicks in.

Here's an example.

Default settings (sectionbar.tab.width.min = 100)
Image


And here with sectionbar.tab.width.min set to 0:
Image

Note also that
1) The length of tab name doesn't have any influence on the tab's width
2) The parameter sectionbar.tab.width.max limits the result of the formula <CN's window client width> / <number of tabs> on the other side, preventing tabs from becoming too wide.

Hope this helps!

Re: tabs width

Posted: Fri May 08, 2020 6:12 am
by keldi
Thank you so much for your detailed explanation. I didn't have enough tabs for scrolling to kick in. It all makes sense now.

Re: tabs width

Posted: Fri May 08, 2020 8:29 am
by CintaNotes Developer
No problem at all!