From 4a4d05b0354829df86c4f106868d421dca349b34 Mon Sep 17 00:00:00 2001 From: Marko Gronroos Date: Mon, 25 Jul 2016 00:00:36 +0300 Subject: Rescaled images in layout chapter. Various small formatting fixes. Updated history and other matters in introduction. Change-Id: I0d5e76f7fb07f967dd04941a23e79dfb30049731 --- documentation/components/components-selection.asciidoc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'documentation/components/components-selection.asciidoc') diff --git a/documentation/components/components-selection.asciidoc b/documentation/components/components-selection.asciidoc index 1b62744786..6078fd886e 100644 --- a/documentation/components/components-selection.asciidoc +++ b/documentation/components/components-selection.asciidoc @@ -69,7 +69,6 @@ caption, but can be any object type. We could as well have given Planet instance for the items and use captions generated based on them [methodname]#setItemCaptionProvider()# method. - [source, java] ---- // List of Planet objects @@ -101,7 +100,6 @@ retrieved with [methodname]#toString()# method from the item. This is useful for simple objects like String or Integers, but also for objects that have human readable output for [methodname]#toString()# . -+ [source, java] ---- ComboBox select = new ComboBox<>("Inner Planets"); @@ -193,7 +191,8 @@ planets.add(new Planet(3, "Earth")); planets.add(new Planet(4, "Mars")); // Create a selection component -ComboBox select = new ComboBox<>("Planets"); +ComboBox select = + new ComboBox<>("Planets"); // Set the caption provider to read the // caption directly from the 'name' -- cgit v1.2.3