Re: [PATCH] qgit: increase the space between the lanes.
- From
- Martin Atukunda <matlads@dsmagic.com>
- Date
- Jan 3, 2006, 16:49 UTC
- Message-ID
- <200601031949.59822.matlads@dsmagic.com>
- In-Reply-To
- <43BA9CFA.8050208@yahoo.it>
On Tuesday 03 January 2006 18:49, Marco Costalba wrote:
Show 5 quoted lines
> > If it _could_ be possible to fill with color the merge symbols it would be > great. > > Do you mind to do it yourself? if not I will do that.
Something like this? ---
[PATCH] qgit: increase the space between the lanes.
This commit increases the space between the lanes. It also cators/adjusts for the look of the merge/fork symbols.
Signed-off-by: Martin Atukunda <matlads@dsmagic.com>
---
src/mainimpl.cpp | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)
eb82c3b5bda7970bf743a3b1fa9df8a943f3b9ed
diff --git a/src/mainimpl.cpp b/src/mainimpl.cpp index d7c4e39..9430e1b 100644 --- a/src/mainimpl.cpp +++ b/src/mainimpl.cpp @@ -1409,7 +1409,7 @@ void MainImpl::setupPixmaps() { // little hack to read items height new QListViewItem(listViewLog); ph = listViewLog->firstChild()->height(); - pw = ph / 2; + pw = ph / 2 + 4; listViewLog->clear(); // remove and deletes items QPixmap cm(pw, ph); cm.fill(); @@ -1443,17 +1443,17 @@ void MainImpl::setupPixmaps() { case MERGE_FORK: p.drawLine(P_90, P_270); p.drawLine(P_180, P_0); - p.drawRect(pw/4, ph/4, pw/2, ph/2); + p.drawRect(pw/4+1, ph/4, pw/2-1, ph/2); break; case MERGE_FORK_R: p.drawLine(P_90, P_270); p.drawLine(P_180, P_OR); - p.drawRect(pw/4, ph/4, pw/2, ph/2); + p.drawRect(pw/4+1, ph/4, pw/2-1, ph/2); break; case MERGE_FORK_L: p.drawLine(P_90, P_270); p.drawLine(P_OR, P_0); - p.drawRect(pw/4, ph/4, pw/2, ph/2); + p.drawRect(pw/4+1, ph/4, pw/2-1, ph/2); break; case JOIN: p.drawLine(P_90, P_270);
-- 1.0.6-g58e3