author | Shawn O. Pearce <spearce@spearce.org> | |
Fri, 22 Jun 2007 05:29:20 +0000 (01:29 -0400) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Wed, 4 Jul 2007 08:23:05 +0000 (04:23 -0400) | ||
commit | c1fd897a25d85424a2ee93a8ae2eb247ba7c2558 | |
tree | 79e3db1eae8f3b828ec4c49049a149abe62275e8 | tree | snapshot |
parent | 1d6d7c4c8545af7c5fd57a4c1ff753f1d4035097 | commit | diff |
git-gui: Start blame windows as tall as possible
Most users these days are using a windowing system attached to a
monitor that has more than 600 pixels worth of vertical space
available for application use. As most files stored by Git are
longer than they are wide (have more lines than columns) we want
to dedicate as much vertical space as we can to the viewer.
Instead of always starting the window at ~600 pixels high we now
start the window 100 pixels shorter than the screen claims it has
available to it. This -100 rule is used because some popular OSen
add menu bars at the top of the monitor, and docks on the bottom
(e.g. Mac OS X, CDE, KDE). We want to avoid making our window too
big and causing the window's resize control from being out of reach
of the user.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Most users these days are using a windowing system attached to a
monitor that has more than 600 pixels worth of vertical space
available for application use. As most files stored by Git are
longer than they are wide (have more lines than columns) we want
to dedicate as much vertical space as we can to the viewer.
Instead of always starting the window at ~600 pixels high we now
start the window 100 pixels shorter than the screen claims it has
available to it. This -100 rule is used because some popular OSen
add menu bars at the top of the monitor, and docks on the bottom
(e.g. Mac OS X, CDE, KDE). We want to avoid making our window too
big and causing the window's resize control from being out of reach
of the user.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
lib/blame.tcl | diff | blob | history |