From 4130f1d87d6ab387a363a4e44e8746eddc049d13 Mon Sep 17 00:00:00 2001
From: Pekka Hyvönen <pekka@vaadin.com>
Date: Thu, 5 Jan 2017 18:09:32 +0200
Subject: Update component docs for 8 except Grid

---
 documentation/components/components-customcomponent.asciidoc | 2 --
 1 file changed, 2 deletions(-)

(limited to 'documentation/components/components-customcomponent.asciidoc')

diff --git a/documentation/components/components-customcomponent.asciidoc b/documentation/components/components-customcomponent.asciidoc
index f8e8f1ddff..7f392885a9 100644
--- a/documentation/components/components-customcomponent.asciidoc
+++ b/documentation/components/components-customcomponent.asciidoc
@@ -34,12 +34,10 @@ class MyComposite extends CustomComponent {
         // A layout structure used for composition
         Panel panel = new Panel("My Custom Component");
         VerticalLayout panelContent = new VerticalLayout();
-        panelContent.setMargin(true); // Very useful
         panel.setContent(panelContent);
 
         // Compose from multiple components
         Label label = new Label(message);
-        label.setSizeUndefined(); // Shrink
         panelContent.addComponent(label);
         panelContent.addComponent(new Button("Ok"));
 
-- 
cgit v1.2.3

