Page 1 of 1

Tabs too small for text with many fixtures

Posted: Wed Mar 01, 2017 7:18 am
by mdmayfield
I've been reading a bit into the Qt toolkit but am not quite to a point where I can find where to make a change to prevent this annoying situation:
Screen Shot 2017-03-01 at 1.11.43 AM.png
What I would prefer is for the minimum tab width to be set to maybe 180 pixels (non-HiDPI) or thereabouts, so that all fixture names will be legible even with dozens of fixtures present in a function, and scroll buttons or a scroll bar would appear to access tabs offscreen.

Can anyone point me in the right direction of where to look in the QLC+ source, or suggest a specific patch?

Thanks,

Matt

Re: Tabs too small for text with many fixtures

Posted: Sun Mar 05, 2017 6:43 am
by mdmayfield
There's a potential fix with these two changes (messy GitHub usage; still learning...)

https://github.com/mdmayfield/qlcplus/c ... 11179810a8
https://github.com/mdmayfield/qlcplus/c ... e21df86ed1

For fixtures with very long names, it might make more sense to still use ElideMiddle but somehow set a minimum width for the tabs. I'm looking into that.

Re: Tabs too small for text with many fixtures

Posted: Sun Mar 05, 2017 8:27 am
by mcallegari
Or you can use the non-tabbed view