GNOME Bugzilla – Bug 580853
Long and multiline comments makes gitg window too big
Last modified: 2010-05-29 11:33:09 UTC
Subject line in Details ignores newline symbols in text and don't allows shrink window horizontally.
*** Bug 592316 has been marked as a duplicate of this bug. ***
(Sorry for the dupe) A simple fix is to add this: <property name="wrap">True</property> to the element <object class="GtkLabel" id="label_subject"> in gitg-window.ui However, this makes the field have a fixed width, about 240px. From reading various things on the internet, it seems that making it follow the parent element's width is quite hard. IMO this solution is better than the current one, but it does make messages that *can* fit into the space look weird.
An other solution: https://bugzilla.gnome.org/show_bug.cgi?id=577079
For now I've applied a patch which ellipsizes the label, so it at least doesn't auto resize the window anymore. I'll see what we'll do when we reorganize the UI.