Example usage for com.vaadin.client ComputedStyle getPaddingWidth

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

Introduction

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

Prototype

public double getPaddingWidth() 

Source Link

Document

Returns the sum of the top and bottom padding.

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();
}