arrow_back history picture_as_pdf This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ~~NOTRANS~~ ~~Title: Remove Default Padding of Workscreen~~ The standard application frame with Vaadin UI adds a default padding of five pixels to every screen if margins of screen layout are smaller than five pixels. An example: {{:applications:screen_defaultpadding.png?nolink|}} and the html code: {{:applications:screen_defaultpadding_html.png?nolink|}} To change the default padding, simply set a custom margin in your screen, e.g. <file java> getLayout().setMargins(new UIInsets(8, 8, 8, 8)); </file> or set/add the style: <file java> setStyle(new Style("nopadding")); </file> to remove the default padding. Here's the result without default padding: {{:applications:screen_nopadding.png?nolink|}} The default padding of the screen is now unset, but the users layout has custom margins: <file java> layUsers.setMargins(7, 2, 5, 5); </file>