[MonoDevelop] Stripped down GTK# notebook tabs for monodevelop

Anirudh anirudh at anirudhsanjeev.org
Wed Apr 8 14:33:43 EDT 2009


I wasn't liking the default tab display of MonoDevelop. It used up too much
space, combined with C#'s usual long filenames, I'd see only two or three
tabs at a go. I tried hacking a more frugal tab label system, and was sort
of successful.

I changed MonoDevelop.Components.TabLabel and
Monodevelop.ide.gui.sdiworkspacewindow and made the following changes:

1. Removed icon and the close button - Ctrl+W and middle click works fine
for me.
2. Stripped text to 7 characters and added ellipsis.

I've attached before and after screenshots. You can take a look and get a
better idea of what I have in mind.
The best option is to settle for a middle-ground and write a system which
automatically shortens titles when there are more tabs opened. Firefox has a
robust implementation of this, and it doesn't seem simple to implement.

I wanted your opinions on my change, whether something like this would help
improve MonoDevelop.


Fourth Year Undergraduate Student, Indian Institute of Technology, Kharagpur
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodevelop-list/attachments/20090409/a35ecd87/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: md_before.png
Type: image/png
Size: 308779 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/monodevelop-list/attachments/20090409/a35ecd87/attachment-0002.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: md_after.png
Type: image/png
Size: 316209 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/monodevelop-list/attachments/20090409/a35ecd87/attachment-0003.png 

More information about the Monodevelop-list mailing list