mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-05 11:53:53 +00:00
move spacing to CSS file;
This commit is contained in:
1 parent
cac420df8a
commit
26fc5aeebb
3 files changed
+13
-5
No files matched your search
@@ -75,6 +75,16 @@ table {
|
||||
border: 1px solid #C9CACA;
|
||||
}
|
||||
|
||||
.CombinedWindPanelParentDiv {
|
||||
padding-top: 34px;
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
.MapSimulationLegendParentDiv {
|
||||
padding-top: 10px;
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
.RaceMap-HeaderPanel {
|
||||
height: 60px;
|
||||
width: 100%;
|
||||
|
||||
+1
-2
@@ -395,8 +395,7 @@ public class RaceMap extends AbsolutePanel implements TimeListener, CompetitorSe
|
||||
Image sapLogo = createSAPLogo();
|
||||
RaceMap.this.add(sapLogo);
|
||||
map.setControls(ControlPosition.LEFT_TOP, combinedWindPanel);
|
||||
combinedWindPanel.getParent().getElement().getStyle().setProperty("paddingLeft", "10px");
|
||||
combinedWindPanel.getParent().getElement().getStyle().setProperty("paddingTop", "34px");
|
||||
combinedWindPanel.getParent().addStyleName("CombinedWindPanelParentDiv");
|
||||
|
||||
RaceMap.this.raceMapImageManager.loadMapIcons(map);
|
||||
map.setSize("100%", "100%");
|
||||
|
||||
+2
-3
@@ -105,7 +105,7 @@ public class RaceSimulationOverlay extends FullCanvasOverlay implements TimeLis
|
||||
|
||||
private void createSimulationLegend(MapWidget map) {
|
||||
simulationLegend = Canvas.createIfSupported();
|
||||
simulationLegend.setStyleName("gwt-MapSimulationLegend");
|
||||
simulationLegend.addStyleName("MapSimulationLegend");
|
||||
simulationLegend.setTitle(stringMessages.simulationLegendTooltip());
|
||||
/*simulationLegend.addClickHandler(new ClickHandler() {
|
||||
@Override
|
||||
@@ -114,8 +114,7 @@ public class RaceSimulationOverlay extends FullCanvasOverlay implements TimeLis
|
||||
}
|
||||
});*/
|
||||
map.setControls(ControlPosition.LEFT_TOP, simulationLegend);
|
||||
simulationLegend.getParent().getElement().getStyle().setProperty("paddingLeft", "10px");
|
||||
simulationLegend.getParent().getElement().getStyle().setProperty("paddingTop", "10px");
|
||||
simulationLegend.getParent().addStyleName("MapSimulationLegendParentDiv");
|
||||
}
|
||||
|
||||
public void onBoundsChanged(boolean zoomChanged) {
|
||||
|
||||
Reference in new issue
Block a user