mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-07 12:51:02 +00:00
Set styleName to timePanelSlider, remove inline styles
This commit is contained in:
1 parent
3268c45383
commit
02af5611ac
1 file changed
+2
-3
+2
-3
@@ -4,7 +4,6 @@ import java.util.Date;
|
||||
|
||||
import com.google.gwt.core.client.GWT;
|
||||
import com.google.gwt.dom.client.Style;
|
||||
import com.google.gwt.dom.client.Style.Unit;
|
||||
import com.google.gwt.event.dom.client.ClickEvent;
|
||||
import com.google.gwt.event.dom.client.ClickHandler;
|
||||
import com.google.gwt.event.logical.shared.ValueChangeEvent;
|
||||
@@ -103,8 +102,8 @@ public class TimePanel<T extends TimePanelSettings> extends FormPanel implements
|
||||
vp.setSize("100%", "100%");
|
||||
|
||||
SimplePanel s = new SimplePanel();
|
||||
s.getElement().getStyle().setMarginLeft(55, Unit.PX);
|
||||
s.getElement().getStyle().setMarginRight(55, Unit.PX);
|
||||
s.setStyleName("timePanelSlider");
|
||||
|
||||
|
||||
playButtonImg = resources.timesliderPlayActiveIcon();
|
||||
pauseButtonImg = resources.timesliderPauseIcon();
|
||||
|
||||
Reference in new issue
Block a user