<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Hi Marcel,</p>
<p><br>
</p>
<p>this was only intended to be a quick-fix for the release, but you are right that solutions like this use to persist longer than we would love to. IMO the current appearance of the preference browser is not really acceptable for the release. <span style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">Yes,
 we could also only increase the #initialExtent, but this simply requires even more screen space and I considered the original preference name a little bit too verbose anyway (do we even have an official definition of "tool windows vs windows"?).</span></p>
<p><br>
</p>
<p>Any ideas for a more elegant but cheap solution would be welcome.</p>
<p><br>
</p>
<p>Best,</p>
<p>Christoph</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Von:</b> Squeak-dev <squeak-dev-bounces@lists.squeakfoundation.org> im Auftrag von Taeumel, Marcel<br>
<b>Gesendet:</b> Donnerstag, 16. Juni 2022 11:53:05<br>
<b>An:</b> squeak-dev<br>
<b>Betreff:</b> Re: [squeak-dev] Review Request: fix-preference-browser-overflow.1.cs</font>
<div> </div>
</div>
<div>
<div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000;text-align: left" dir="ltr">
Hi Christoph --
<div><br>
</div>
<div>I don't like the reason you provide for changing the title of that preference. This kind of change is not maintainable in the long term. So, you drop the information "tool" for some highly fragile UI optimization. This is not okay. Next time somebody increases
 the width of that input field for #String, your change becomes void again.</div>
<div><br>
</div>
<div>Also, you even increased the #initialExtent. So you made two very different changes to tackle the same problem. Why not just increase the #initialExtent only to support this very configuration of preferences we have at the moment? This is not maintainable.</div>
<div><br>
</div>
<div>Your choice but this is a clear -1 from my side.</div>
<div><br>
</div>
<div>Best,</div>
<div>Marcel</div>
<div class="mb_sig"></div>
<blockquote class="history_container" type="cite" style="border-left-style: solid;border-width: 1px;margin-top: 20px;margin-left: 0px;padding-left: 10px;min-width: 500px">
<p style="color: #AAAAAA; margin-top: 10px;">Am 16.06.2022 11:34:12 schrieb christoph.thiede@student.hpi.uni-potsdam.de <christoph.thiede@student.hpi.uni-potsdam.de>:</p>
<div style="font-family:Arial,Helvetica,sans-serif"><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><span style="color: #0000FF">-     ^ (660@440 * RealEstateAgent scaleFactor) rounded<br>
</span></s><span style="color: #FF0000">+     ^ (705 @ 440 * RealEstateAgent scaleFactor) rounded</span><br>
<br>
<b>RealEstateAgent class>>windowScaleFactor {preferences} · ct 6/16/2022 11:23 (changed)</b><br>
<s><span style="color: #0000FF">- windowScaleFactor<br>
-     <preference: 'Scale Factor for Default Extent of Tool Windows'<br>
</span></s><span style="color: #FF0000">+ windowScaleFactor <br>
+     <preference: 'Scale Factor for Default Window Extent'<br>
</span>        categoryList: #(Morphic Tools Accessibility)<br>
<s><span style="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>
</span></s><span style="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>
</span>        type: #String><br>
    ^ WindowScaleFactor ifNil: [1.0]<br>
<br>
["fix-preference-browser-overflow.1.cs"]<br>
<br>
<span style="color: #808080">---<br>
</span><span style="color: #808080"><i>Sent from </i></span><span style="color: #808080"><i><a href="https://github.com/hpi-swa-lab/squeak-inbox-talk"><u><span style="color: #808080">Squeak Inbox Talk</span></u></a></i></span>
</div>
</blockquote>
</div>
</div>
</body>
</html>