analysis.lami: remove unused font height for error labels
authorGabriel-Andrew Pollo-Guilbert <gabrielpolloguilbert@gmail.com>
Mon, 30 May 2016 19:48:49 +0000 (15:48 -0400)
committerGenevieve Bastien <gbastien+lttng@versatic.net>
Wed, 1 Jun 2016 14:13:48 +0000 (10:13 -0400)
The method setHeight() does not modify the reciever. Thus,
the size of the error label didn't change.

Change-Id: I1cb656429d5a45dff310c8f6fe94aa99760b92fa
Signed-off-by: Gabriel-Andrew Pollo-Guilbert <gabrielpolloguilbert@gmail.com>
Reviewed-on: https://git.eclipse.org/r/73981
Reviewed-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Reviewed-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
Tested-by: Genevieve Bastien <gbastien+lttng@versatic.net>
analysis/org.eclipse.tracecompass.analysis.lami.ui/src/org/eclipse/tracecompass/internal/provisional/analysis/lami/ui/handler/AddAnalysisDialog.java

index 0ce1044bce00fa3a38d15c5d0205b0abb8a9f7a4..a6d4c940b19d7925fee3097e1aa92af8d53071a2 100644 (file)
@@ -105,7 +105,6 @@ class AddAnalysisDialog extends Dialog {
         Color color = new Color(parent.getDisplay(), 0xe7, 0x4c, 0x3c);
         label.setForeground(color);
         final FontDescriptor fd = FontDescriptor.createFrom(parent.getFont());
-        fd.setHeight(9);
         Font font = fd.createFont(parent.getDisplay());
         label.setFont(font);
 
This page took 0.024867 seconds and 5 git commands to generate.