Example usage for com.google.gwt.dom.client Style setFloat

List of usage examples for com.google.gwt.dom.client Style setFloat

Introduction

In this page you can find the example usage for com.google.gwt.dom.client Style setFloat.

Prototype

public void setFloat(Float value) 

Source Link

Usage

From source file:stroom.pipeline.stepping.client.view.StepControlViewImpl.java

License:Apache License

private GlyphButton createButton(final String className, final String title) {
    final GlyphButton button = GlyphButton.create(className, GlyphIcons.GREEN, title, false);
    final Style style = button.getElement().getStyle();
    style.setPadding(1, Style.Unit.PX);
    style.setFloat(Style.Float.RIGHT);
    return button;
}