remove setFloat() && setPadding() from linkHtml

This commit is contained in:
Marcus Kammer committed 2012-05-23 15:00:25 +02:00
1 parent 532a4e880a
commit 72e26d4868
1 file changed
-3
@@ -1,7 +1,6 @@
package com.sap.sailing.gwt.ui.raceboard;
import com.google.gwt.core.client.GWT;
import com.google.gwt.dom.client.Style;
import com.google.gwt.safehtml.client.SafeHtmlTemplates;
import com.google.gwt.safehtml.shared.SafeHtml;
import com.google.gwt.user.client.Window;
@@ -61,8 +60,6 @@ public class GlobalNavigationPanel extends FlowPanel {
HTML linkHtml = new HTML(ANCHORTEMPLATE.anchor(URLFactory.INSTANCE.encode(url), linkName));
linkHtml.addStyleName(STYLE_NAME_PREFIX + styleNameExtension);
linkHtml.getElement().getStyle().setFloat(Style.Float.LEFT);
linkHtml.getElement().getStyle().setPadding(5, Style.Unit.PX);
add(linkHtml);
}
}