tabs width

keldi
Posts: 3
Joined: Fri Sep 27, 2019 9:43 pm
Contact:

tabs width

Postby keldi » Thu May 07, 2020 9:09 am

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.
User avatar
CintaNotes Developer
Site Admin
Posts: 4910
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: tabs width

Postby CintaNotes Developer » Fri May 08, 2020 2:00 am

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!
Alex
keldi
Posts: 3
Joined: Fri Sep 27, 2019 9:43 pm
Contact:

Re: tabs width

Postby keldi » Fri May 08, 2020 6:12 am

Thank you so much for your detailed explanation. I didn't have enough tabs for scrolling to kick in. It all makes sense now.
User avatar
CintaNotes Developer
Site Admin
Posts: 4910
Joined: Fri Dec 12, 2008 4:45 pm
Contact:

Re: tabs width

Postby CintaNotes Developer » Fri May 08, 2020 8:29 am

No problem at all!
Alex

Return to “CintaNotes Personal Notes Manager”