[Github-comments] [geany/geany] improvement: cut down the space wasted in sidebar (#1711)

Matthew Brush notifications at xxxxx
Fri Dec 8 22:56:57 UTC 2017


> i cannot find where can be that, @codebrainz you said that dont be hard.. i'm not expert in GTK but i know something C, some started point?

I would think you could connect a callback function to the sidebar notebook's `page-added` signal and in that function, set the tab label's width (as above) for any tabs added. You might need a loop like above for startup because I think the sidebar notebook and a couple of Geany's built-in tabs are done in Glade, so you need to get them fixed up initially, but the `page-added` signal should do the trick for all plugins or other code adding tabs into the sidebar.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1711#issuecomment-350392986
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20171208/a00fbdf1/attachment-0001.html>


More information about the Github-comments mailing list