compact-bar: changing modes causes the tab list to shift
LechintanTudor opened this issue · comments
Hey, this was done to fix the inconsistent padding behavior:
#3260
the tab list shift was already happening before the change on mode names > 8 (see the "before" gif in the linked PR).
One way to avoid the shift could be to always fill the mode section with whitespaces, length equal to the largest mode then center it, but that might look "weird" on short names.
Thanks for the explanation, I see that this is working as intended.
Still, is it possible to change the mode text displayed in the bar? I would like to add some padding so that the tab list doesn't shift.
Still, is it possible to change the mode text displayed in the bar? I would like to add some padding so that the tab list doesn't shift.
no, you would have to fork the default compact-bar plugin to do that.