Decrease the commit dot size for SWT and AWT renderers
commit1deda9293a883056a9f4a18f4debfaa6b6e4a848
authorShawn O. Pearce <spearce@spearce.org>
Sat, 29 Mar 2008 18:40:01 +0000 (29 14:40 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Mon, 7 Apr 2008 05:06:34 +0000 (7 01:06 -0400)
tree74f04789ab9a2b9feec4a703cf7d8ac7bcec99db
parent741944a966034c2f9a34ece19671eab438caf0d4
Decrease the commit dot size for SWT and AWT renderers

The default dot size was coming out too large on SWT; it took up
most of the entire cell and looked very out of place relative to
the lines connecting the dots.  We now use 50% of the smallest side
of the cell (row height or lane width).  Odd sized dots are rounded
up to an even dot size.

The AWT renderer now centers the lines in the middle of the stroke,
as it was placing them out of position relative to the dots.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.spearce.jgit/src/org/spearce/jgit/awtui/CommitGraphPane.java
org.spearce.jgit/src/org/spearce/jgit/revplot/AbstractPlotRenderer.java