<b>=============== Summary ===============</b><br>
<br>
Change Set:        fix-preference-browser-overflow<br>
Date:            16 June 2022<br>
Author:            Christoph Thiede<br>
<br>
Fixes default width of preference browser. The new preference 'RealEstateAgent windowScaleFactor' had such a long name that it did not fit into the standard width. Shorten the name and extend the initial window extent so that selecting the preference does no longer offsets all items in the list.<br>
<br>
Note that this is only a quick-fix and might fail again once you change your screen size or fonts. In the long term, it would be nicer if we had something like StringMorph >> #maxWidth: for this (maybe even with an automatic ellipsis ...).<br>
<br>
<b>=============== Diff ===============</b><br>
<br>
<b>PreferenceBrowser>>initialExtent {user interface} · ct 6/16/2022 11:24 (changed)</b><br>
initialExtent<br>
    "Scale here because the receiver is not built through a tool builder. See #buildPluggableWindow:."<br>
    <br>
<s><font color="#0000FF">-     ^ (660@440 * RealEstateAgent scaleFactor) rounded<br>
</font></s><font color="#FF0000">+     ^ (705 @ 440 * RealEstateAgent scaleFactor) rounded</font><br>
<br>
<b>RealEstateAgent class>>windowScaleFactor {preferences} · ct 6/16/2022 11:23 (changed)</b><br>
<s><font color="#0000FF">- windowScaleFactor<br>
-     <preference: 'Scale Factor for Default Extent of Tool Windows'<br>
</font></s><font color="#FF0000">+ windowScaleFactor <br>
+     <preference: 'Scale Factor for Default Window Extent'<br>
</font>        categoryList: #(Morphic Tools Accessibility)<br>
<s><font color="#0000FF">-         description: 'The extent of tool windows is tweaked for a world extent of 1024@768 (or its scaled equivalent). If you have a larger screen available, you might want to increase a tool''s default extent. Note that you can also increase the system''s overall scale factor instead.'<br>
</font></s><font color="#FF0000">+         description: 'The extent of windows is tweaked for a world extent of 1024@768 (or its scaled equivalent). If you have a larger screen available, you might want to increase a tool''s default extent. Note that you can also increase the system''s overall scale factor instead.'<br>
</font>        type: #String><br>
    ^ WindowScaleFactor ifNil: [1.0]<br>
<br>
["fix-preference-browser-overflow.1.cs"]<br>
<br>
<font color="#808080">---<br>
</font><font color="#808080"><i>Sent from </i></font><font color="#808080"><i><a href="https://github.com/hpi-swa-lab/squeak-inbox-talk"><u><font color="#808080">Squeak Inbox Talk</font></u></a></i></font>