idea from @GHNewbiee from #3062
What about adding one more icon button before the "scroll tabs left" which will minimize the width of the group to the maximum practically possible or recover the group to the initial width; sliding splitters is not fast/ideal.
not easy to add such a button in tab-title. better write a plugin which does resizes of splitters.
sorry.
https://wiki.freepascal.org/CudaText_API#Splitters
@GHNewbiee
@halfbrained maybe you see this is useful wish? Im not sure
The user is not talking about tab-title, but rather buttons to the sides of tabs, those that are governed by option ui_tab_button_layout.
If that is also difficult - I would also appreciate such functionality, so will gladly make the plugin.
The user is not talking about tab-title, but rather buttons to the sides of tabs,...
That's correct! As I write
... before the "scroll tabs left" ...
If that is also difficult - I would also appreciate such functionality, so will gladly make the plugin.
@halfbrained Yes, I meaned that button_layout near the tab titles. yes, plugin will be good here, thanks.
An icon in place of yellow rectangular.

yes, plugin will be good here, thanks.
Ok. Than maybe allow to resize groups to less than ~60px width/height?
in last 1.126.x the minimum is about 30px

IMHO, the ideal size would be that in which only the new icon appears fully. Arrows in vertical groups are not necessary any more.
Smaller size is obviously not good because perhaps we will not be able to click the icon to open the group. Wider size is also not good because we waste workspace.
IMHO, the ideal size would be that in which only the new icon appears fully
Unfortunately buttons won't be happening. Will be new commands instead.
What a pity!
with ConfigToolbar plugin, you are able to make a 1 toolbar btn with a dropdown for 2 actions.
@GHNewbiee -- Plugin from @halfbrained is ready!
published it in addons.
http://synwrite.sourceforge.net/forums/viewtopic.php?f=19&t=2647
Any feedback on it?
@halfbrained : Many thanks for your time and effort to write the plugin!
Unfortunately it does not work properly.
See the photos:



It won't work on the old versions, please update to the latest CudaText.
I'll look into un-minimizing on hidden group click.
@halfbrained but it was new Cud-- UI-tabs are rounded on corners.
@halfbrained
I use the latest.

Which group takes focus after minimizing a group?
Please give us:
In addition,
Both minimize and maximize at the moment are just toggles: minimize a group, then return previous layout; maximize and return... When group minimized focus goes to the largest editor.
minimize_preference - does not apply to your layout, only for grids (2x2 and 3x2). I'll add a .gif later since it unrelated.
So your desired workflow - minimize several groups and return them by clicking on their visible area?
Should real estate be divided evenly between remaining groups? Or how do you see this?
For me (on the fresh install with just this plugin) minimizing first group looks like this (and returns back on next toggle)

=>

... why I thought you are using the old version.
In above wrong case I can agree with the behaviour if g2 does not get the focus after minimizing g1 but focus remains in g1. Then when I press again "Alt+M" takes me back to the initial widths which is OK.
Summarizing, after minimizing a group
Alt+M takes back to the initial widths (like maximizing)Alt+M minimizes the "new-focused" group and focus passes to another available (not-minimized) group.Both minimize and maximize at the moment are just toggles: minimize a group, then return previous layout; maximize and return...
See the summary of my previous message.
When group minimized focus goes to the largest editor.
I would never imagine that! 馃槃 We can have a "larger" editor only if we move a splitter. If we do not move a splitter at all and use only "minimize", "maximize" and keys with toggling there will not be any larger, won't be?!!
minimize_preference- does not apply to your layout, only for grids (2x2 and 3x2). I'll add a .gif later since it unrelated.So your desired workflow - minimize several groups and return them by clicking on their visible area?
See the summary for the options. It is not my desired workflow. It is how the things have to work right. Desired behaviour has to do with options and only!
For example, what it will get the focus is an option:
but how the things will work after focus in each case is not an option.
Should real estate be divided evenly between remaining groups? Or how do you see this?
It makes more sense. If one has to suggest something else (ratio, eg 40:60, 30:70 ) then a dividing option can be adopted. For the time being, we are only interested in working right.
@halfbrained
If you like, you would also add an extra 3rd command (eg "Reset tabs") which will open/reset all tabs with equal widths.
'Reset group sizes'
Would this arrangement be satisfactory?
Makes sense, right?
If I understand correct:
1.
a)
Alt+M) and focus remains on the same groupAlt+M ('minimize') (toggling)b)
Alt+M ('minimize'), so2.
Theoretical case: I have 6 groups and minimize 5 of them, so that the last one remains maximized. What will happen if I try to minimize the last 6th group?
b)
* you click the vertical bar of group 1, so it becomes focused again, and * you press again`Alt+M` ('minimize'), so
When minimized group gets focus it gets un-minimized.
**Question: What happens if I minimize also this group?** Does it get minimized?, so that I have now two minimized groups and a 3rd group is focused, ...?)
Yes.
Theoretical case: I have 6 groups and minimize 5 of them, so that the last one remains maximized. What will happen if I try to minimize the last 6th group?
Cops break down your doors and shoot your computer Nothing?
@GHNewbiee if you would like to give some feedback, plugin resides here, just some cleanup left
readme at https://github.com/halfbrained/cuda_ed_resize
shows pictures now.
@halfbrained Sometimes I face a small problem, e.g.,
Does you face the same incident?
@Alexey-T I have observed that a click on the vertical bar, not only the group gets focus but also it opens which is very cool!
Made new issue in https://github.com/halfbrained/cuda_ed_resize/issues/1
Let's make new issues for plugin there!
I will close this soon
Most helpful comment
@GHNewbiee if you would like to give some feedback, plugin resides here, just some cleanup left