mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-28 14:57:12 +00:00
Moved east toggle button to center left and rotated
This commit is contained in:
1 parent
ed7ad9a412
commit
aebe5f1a79
3 files changed
+30
-5
No files matched your search
@@ -156,12 +156,25 @@ body ::-webkit-scrollbar-track {
|
||||
|
||||
.gwt-SplitLayoutPanel-EastToggleButton-Panel {
|
||||
position: absolute;
|
||||
top: 88%;
|
||||
left: 1%;
|
||||
top: 50%;
|
||||
}
|
||||
|
||||
.gwt-SplitLayoutPanel-NorthSouthToggleButton, .gwt-SplitLayoutPanel-EastToggleButton {
|
||||
height: 40px;
|
||||
.gwt-SplitLayoutPanel-EastToggleButton {
|
||||
height: 40px;
|
||||
width: 120px;
|
||||
background-color: white;
|
||||
border: none;
|
||||
border-bottom-left-radius: 25px;
|
||||
border-bottom-right-radius: 25px;
|
||||
border-top-left-radius: 25px;
|
||||
border-top-right-radius: 25px;
|
||||
-webkit-transform: rotate(-90deg);
|
||||
background: white url(images/arrows_bottom_black_small.png) 50% 85% no-repeat;
|
||||
padding-bottom: 13px;
|
||||
}
|
||||
|
||||
.gwt-SplitLayoutPanel-NorthSouthToggleButton {
|
||||
height: 50px;
|
||||
width: 120px;
|
||||
margin-bottom: 12px;
|
||||
background-color: white;
|
||||
@@ -171,6 +184,8 @@ body ::-webkit-scrollbar-track {
|
||||
border-top-left-radius: 25px;
|
||||
border-top-right-radius: 25px;
|
||||
margin-left: 5px;
|
||||
background: white url(images/arrows_top_black_small.png) 50% 15% no-repeat;
|
||||
padding-top: 20px;
|
||||
}
|
||||
|
||||
.gwt-SplitLayoutPanel-HDragger {
|
||||
|
||||
+1
-1
@@ -343,7 +343,7 @@ public class RaceMap extends AbsolutePanel implements TimeListener, CompetitorSe
|
||||
mapOptions.setMapTypeStyles(mapTypeStyles);
|
||||
|
||||
ScaleControlOptions scaleControlOptions = ScaleControlOptions.newInstance();
|
||||
scaleControlOptions.setPosition(ControlPosition.BOTTOM_RIGHT);
|
||||
scaleControlOptions.setPosition(ControlPosition.BOTTOM_CENTER);
|
||||
mapOptions.setScaleControlOptions(scaleControlOptions);
|
||||
mapOptions.setStreetViewControl(false);
|
||||
if (showMapControls) {
|
||||
|
||||
+10
@@ -21,8 +21,18 @@ import com.sap.sailing.gwt.ui.client.shared.components.ComponentViewer;
|
||||
import com.sap.sailing.gwt.ui.client.shared.components.SettingsDialog;
|
||||
import com.sap.sse.gwt.client.player.TimeListener;
|
||||
|
||||
/**
|
||||
* Component Viewer that uses a {@link TouchSplitLayoutPanelWithBetterDraggers}
|
||||
* to display its components.
|
||||
*/
|
||||
public class SideBySideComponentViewer implements ComponentViewer {
|
||||
|
||||
/**
|
||||
* Panel that combines another Panel and associated close and
|
||||
* settings buttons.
|
||||
*
|
||||
* @author Simon Marcel Pamies
|
||||
*/
|
||||
abstract class PanelWithCloseAndSettingsButton extends AbsolutePanel {
|
||||
final Widget containedPanel;
|
||||
public PanelWithCloseAndSettingsButton(Widget containedPanel) {
|
||||
|
||||
Reference in new issue
Block a user