Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Stocker2013-03-08 18:00:22 +0000
committerMatthias Sohn2013-03-21 22:36:28 +0000
commit50ef17edf61a2d7838b2fad1dfa145de60e5b53c (patch)
treeee954d4db3e1288bb19c14385dc1b42ad4eec4ee /org.eclipse.egit.ui
parent0933ac89153746e878b15d2a1a8e959e56b34d7a (diff)
downloadegit-50ef17edf61a2d7838b2fad1dfa145de60e5b53c.tar.gz
egit-50ef17edf61a2d7838b2fad1dfa145de60e5b53c.tar.xz
egit-50ef17edf61a2d7838b2fad1dfa145de60e5b53c.zip
[historyView] Adjust column weights/widths
* The author columns don't need to be wider than the committer ones. * The Id column can be as small as its minimum width. * The message column should be the widest one by far, certainly wider than author. Change-Id: I05c170de28dfc1fb3fff0668ec56a1bf61e81865 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.egit.ui')
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/CommitGraphTable.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/CommitGraphTable.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/CommitGraphTable.java
index 399bdc403e..582da0890d 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/CommitGraphTable.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/history/CommitGraphTable.java
@@ -5,7 +5,7 @@
* Copyright (C) 2008, Shawn O. Pearce <spearce@spearce.org>
* Copyright (C) 2011-2012, Mathias Kinzler <mathias.kinzler@sap.com>
* Copyright (C) 2011-2012, Matthias Sohn <matthias.sohn@sap.com>
- * Copyright (C) 2012, Robin Stocker <robin@nibor.org>
+ * Copyright (C) 2012-2013, Robin Stocker <robin@nibor.org>
* Copyright (C) 2012, Daniel Megert <daniel_megert@ch.ibm.com>
*
* All rights reserved. This program and the accompanying materials
@@ -429,24 +429,24 @@ class CommitGraphTable {
} finally {
gc.dispose();
}
- layout.addColumnData(new ColumnWeightData(3, minWidth, true));
+ layout.addColumnData(new ColumnWeightData(1, minWidth, true));
final TableColumn graph = new TableColumn(rawTable, SWT.NONE);
graph.setResizable(true);
graph.setText(UIText.CommitGraphTable_messageColumn);
- graph.setWidth(250);
+ graph.setWidth(400);
layout.addColumnData(new ColumnWeightData(20, true));
final TableColumn author = new TableColumn(rawTable, SWT.NONE);
author.setResizable(true);
author.setText(UIText.HistoryPage_authorColumn);
- author.setWidth(250);
- layout.addColumnData(new ColumnWeightData(10, true));
+ author.setWidth(100);
+ layout.addColumnData(new ColumnWeightData(5, true));
final TableColumn date = new TableColumn(rawTable, SWT.NONE);
date.setResizable(true);
date.setText(UIText.HistoryPage_authorDateColumn);
- date.setWidth(250);
+ date.setWidth(100);
layout.addColumnData(new ColumnWeightData(5, true));
final TableColumn committer = new TableColumn(rawTable, SWT.NONE);

Back to the top