mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-30 15:57:11 +00:00
formatting of simulation-legend;
This commit is contained in:
1 parent
5d81715436
commit
0c7a5acf66
4 files changed
+15
-5
No files matched your search
@@ -66,11 +66,21 @@ table {
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
.MapSimulationLegendParentDiv {
|
||||
.TrueNorthIndicatorPanelParentDiv {
|
||||
padding-top: 10px;
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
.MapSimulationLegendParentDiv {
|
||||
padding-bottom: 10px;
|
||||
padding-left: 10px;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.MapSimulationLegend {
|
||||
pointer-events: all;
|
||||
}
|
||||
|
||||
.RaceMap-HeaderPanel {
|
||||
height: 60px;
|
||||
width: 100%;
|
||||
|
||||
+1
-1
@@ -504,7 +504,7 @@ public class RaceMap extends AbsolutePanel implements TimeListener, CompetitorSe
|
||||
map.setControls(ControlPosition.LEFT_TOP, combinedWindPanel);
|
||||
combinedWindPanel.getParent().addStyleName("CombinedWindPanelParentDiv");
|
||||
map.setControls(ControlPosition.LEFT_TOP, trueNorthIndicatorPanel);
|
||||
trueNorthIndicatorPanel.getParent().addStyleName("CombinedWindPanelParentDiv");
|
||||
trueNorthIndicatorPanel.getParent().addStyleName("TrueNorthIndicatorPanelParentDiv");
|
||||
|
||||
RaceMap.this.raceMapImageManager.loadMapIcons(map);
|
||||
map.setSize("100%", "100%");
|
||||
|
||||
+2
-2
@@ -41,7 +41,7 @@ public class RaceSimulationOverlay extends FullCanvasOverlay {
|
||||
|
||||
public static final String GET_SIMULATION_CATEGORY = "getSimulation";
|
||||
private final String textColor = "Black";
|
||||
private final String textFont = "10pt OpenSansRegular";
|
||||
private final String textFont = "10pt 'Open Sans'";
|
||||
private String algorithmTimedOutText = "out-of-bounds";
|
||||
private String mixedLegText = "ambiguous wind";
|
||||
private int xOffset = 0;
|
||||
@@ -115,7 +115,7 @@ public class RaceSimulationOverlay extends FullCanvasOverlay {
|
||||
new SettingsDialog<RaceMapSettings>(component, stringMessages).show();
|
||||
}
|
||||
});*/
|
||||
map.setControls(ControlPosition.LEFT_TOP, simulationLegend);
|
||||
map.setControls(ControlPosition.RIGHT_BOTTOM, simulationLegend);
|
||||
simulationLegend.getParent().addStyleName("MapSimulationLegendParentDiv");
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -39,7 +39,7 @@ public class PathLegendCanvasOverlay extends FullCanvasOverlay {
|
||||
private double rectHeight = 20;
|
||||
|
||||
private String textColor = "Black";
|
||||
private String textFont = "10pt OpenSansRegular";
|
||||
private String textFont = "10pt 'Open Sans'";
|
||||
private String algorithmTimedOutText = "out-of-bounds";
|
||||
private String mixedLegText = "ambiguous wind";
|
||||
|
||||
|
||||
Reference in new issue
Block a user