--- a/ExtendedComboBox.st Sat Feb 04 22:17:53 2017 +0100
+++ b/ExtendedComboBox.st Sat Feb 04 22:18:22 2017 +0100
@@ -53,12 +53,13 @@
documentation
"
An ExtendedComboBox looks much like a ComboBox, but allows for any view
- to be popped up (in contrast to a ComboBox, which has a hardWired selectionInList-
- menu).
+ to be popped up
+ (in contrast to a ComboBox, which has a hardWired selectionInListmenu).
+
The popped view may optionally be decorated with scrollBars.
As a side effect, an ExtendedComboBox with a SelectionInListView or Menu
can now be used as a replacement for ComboBoxes when long-lists are to be shown,
- since those can now be scrolled.
+ since those can now be scrolled or defined as hierarchical lists.
[author:]
Claus Atzkern
@@ -69,7 +70,6 @@
ComboListView
PullDownMenu Label EntryField
"
-
!
examples
@@ -142,6 +142,7 @@
[exBegin]
|top menu widget|
+ Smalltalk loadPackage:'stx:libwidg3'.
top := StandardSystemView extent:250@35.
menu := ExtendedComboBox origin:5 @ 5 corner:1.0 @ 0.0 in:top.
menu bottomInset:(menu preferredExtent y negated).