Marcel Taeumel uploaded a new version of PreferenceBrowser to project The Trunk:
http://source.squeak.org/trunk/PreferenceBrowser-mt.53.mcz==================== Summary ====================
Name: PreferenceBrowser-mt.53
Author: mt
Time: 25 April 2015, 10:13:23.176 am
UUID: 91503306-d9bf-2a45-a7b5-faec6044b5ee
Ancestors: PreferenceBrowser-mt.52
Fixed height in search field. (Note: We have to refactor that code to tool builder...)
=============== Diff against PreferenceBrowser-mt.52 ===============
Item was changed:
----- Method: PreferenceBrowserMorph>>newSearchTextField (in category 'submorphs - search panel') -----
newSearchTextField
+
+ | ptm |
- | ptm |
ptm := PluggableTextMorphPlus
on: self model
text: #searchPatternNeverTriggered
accept: #searchPattern:.
+
ptm
+ minimumHeight: 0;
balloonText: 'Search preferences ...';
hideScrollBarsIndefinitely;
+ layoutFrame: (LayoutFrame fractions: (0@0 corner: 1@0) offsets: (0@0 corner: 0@ (TextStyle default lineGrid * 2)));
- layoutFrame: (LayoutFrame fractions: (0@0 corner: 1@0) offsets: (0@0 corner: 0@ 30));
borderInset;
color: Color white;
+ vResizing: #spaceFill;
- vResizing: #rigid;
hResizing: #spaceFill;
- height: TextStyle defaultFont height * 2;
acceptOnCR: true;
onKeyStrokeSend: #value to: [ ptm hasUnacceptedEdits ifTrue: [ ptm accept ] ].
^ptm.!