made gap to leader the first race detail

This commit is contained in:
Axel Uhl committed 2012-12-07 14:50:26 -02:00
1 parent d82bf868c9
commit 957d4e771e
2 files changed
+4 -5

No files matched your search

@@ -27,11 +27,9 @@ public class DialogBoxExt extends DialogBox {
*/
public DialogBoxExt(Widget closeDialogBox) {
super();
closeWidget = closeDialogBox;
closeWidget.getElement().addClassName("chartCloseButton");
// an empty header could case a problem!
// an empty header could cause a problem!
setHTML(" ");
}
@@ -734,8 +734,9 @@ public class LeaderboardPanel extends FormPanel implements TimeListener, PlaySta
}
public static DetailType[] getAvailableRaceDetailColumnTypes() {
return new DetailType[] { DetailType.RACE_AVERAGE_SPEED_OVER_GROUND_IN_KNOTS,
DetailType.RACE_DISTANCE_TRAVELED, DetailType.RACE_GAP_TO_LEADER_IN_SECONDS,
return new DetailType[] { DetailType.RACE_GAP_TO_LEADER_IN_SECONDS,
DetailType.RACE_AVERAGE_SPEED_OVER_GROUND_IN_KNOTS,
DetailType.RACE_DISTANCE_TRAVELED,
DetailType.RACE_CURRENT_SPEED_OVER_GROUND_IN_KNOTS, DetailType.RACE_DISTANCE_TO_LEADER_IN_METERS,
DetailType.NUMBER_OF_MANEUVERS, DetailType.DISPLAY_LEGS, DetailType.CURRENT_LEG,
DetailType.RACE_AVERAGE_CROSS_TRACK_ERROR_IN_METERS };