Example usage for com.vaadin.client ComputedStyle getBorderWidth

List of usage examples for com.vaadin.client ComputedStyle getBorderWidth

Introduction

In this page you can find the example usage for com.vaadin.client ComputedStyle getBorderWidth.

Prototype

public double getBorderWidth() 

Source Link

Document

Returns the sum of the left and right border width.

Usage

From source file:com.haulmont.cuba.web.toolkit.ui.client.suggestionfield.CubaSuggestionFieldWidget.java

License:Apache License

protected static double getMarginBorderPaddingWidth(Element element) {
    final ComputedStyle s = new ComputedStyle(element);
    return s.getMarginWidth() + s.getBorderWidth() + s.getPaddingWidth();
}