Main window not respect widget minimum size
Reported by Heiko Abraham | July 20th, 2009 @ 09:47 AM
Resize the main windows of GitX. As result you see that some widget overdraw other.
I use version 0.6.3.
To replicate the bug:
- Check out a git repository. - Open this repository with GitX. -
select the "master" branch - now you see the commit list, and the
detail view about the last commit - with a windows size of 900x580
pixel - all widget are shown well - now resize the window to
510x530 pixel - now the SHA-ID draw over the button "Gist it" - now
resize the window to 275x500 pixel - now the label "HSA, Author,
Date" draw over the "Gist it" button and the user icon - on the
status bar, the message text "3 commits loaded" draw over the
button
for the detail/raw/tree view
The expected behavior is to set minimum size for some widget. If a label text is longer the the available size, please truncate the text, i.e. for the SHA ID like "4a2b352 ...." (with dots at the end)
Comments and changes to this ticket
-

Johannes Gilger August 19th, 2009 @ 12:41 PM
- State changed from new to resolved
Yeah, well, the view is a WebView, so it's all HTML. If you have any idea how to use HTML/JavaScript to adapt to that without completely cluttering the code feel free to give a try.
We also have the option to set a minimum-size for the GitX-window, but we don't like stuff like that. So, to sum up: I can certainly see the problem, but in my opinion it is only of cosmetic nature and only happens when people really use small windows, which I don't think happens too often.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
GitX is the nice-looking gitk clone for OS X