<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content="text/html; charset=UTF-8">
<style type="text/css" style="">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p>Before:</p>
<p><img size="32785" id="x_img887740" tabindex="0" style="max-width:99.9%" src="cid:1060132a-f3c4-439a-8216-399a4d3606d8"><br>
</p>
<p><br>
</p>
<p>After:</p>
<p><img size="32501" id="x_img996947" tabindex="0" style="max-width:99.9%" src="cid:3cae3f01-51ff-4bed-9387-6fa24eb5fb9b"><br>
</p>
<p><br>
</p>
<p>This proposal improves consistency with the codeProvenance button in code holders.</p>
<p><br>
</p>
<p>Best,</p>
<p>Christoph</p>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>Von:</b> Squeak-dev <squeak-dev-bounces@lists.squeakfoundation.org> im Auftrag von commits@source.squeak.org <commits@source.squeak.org><br>
<b>Gesendet:</b> Donnerstag, 19. Mai 2022 13:23:57<br>
<b>An:</b> squeak-dev@lists.squeakfoundation.org<br>
<b>Betreff:</b> [squeak-dev] The Inbox: Morphic-ct.1994.mcz</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">A new version of Morphic was added to project The Inbox:<br>
<a href="http://source.squeak.org/inbox/Morphic-ct.1994.mcz">http://source.squeak.org/inbox/Morphic-ct.1994.mcz</a><br>
<br>
==================== Summary ====================<br>
<br>
Name: Morphic-ct.1994<br>
Author: ct<br>
Time: 19 May 2022, 1:23:51.16178 pm<br>
UUID: 114c8aca-e31d-444d-8cc2-d19bebd28cdc<br>
Ancestors: Morphic-ct.1993<br>
<br>
Minor UI improvement to FontImporter: Use menu style for the previewText button and make the buttons in the preview slightly larger to avoid overlapping texts.<br>
<br>
=============== Diff against Morphic-ct.1993 ===============<br>
<br>
Item was changed:<br>
  ----- Method: FontImporterTool>>buildPreviewPaneWith: (in category 'ui - building') -----<br>
  buildPreviewPaneWith: builder<br>
         "Build the preview panel. Offer the user the change preview text through the default font, point size, extra (glyph) scale and extra (line) gap."<br>
         <br>
         ^ builder pluggablePanelSpec new<br>
  "             wantsResizeHandles: true;"<br>
                 children: {<br>
                         builder pluggablePanelSpec new<br>
                                 children: {<br>
                                         builder pluggableButtonSpec new<br>
                                                 model: self;<br>
                                                 help: #previewTextButtonHelp;<br>
                                                 label: #previewTextButtonLabel;<br>
                                                 action: #offerPreviewTextMenu;<br>
+                                                style: #menuButton;<br>
+                                                frame: (LayoutFrame fractions: (0@0 corner: 0.2@1));<br>
-                                                frame: (LayoutFrame fractions: (0@0 corner: 0.15@1));<br>
                                                 yourself.<br>
                                                 <br>
                                         builder pluggableInputFieldSpec new<br>
                                                 model: self;<br>
                                                 help: 'Type custom preview text here...' translated;<br>
                                                 getText: #customPreviewText;<br>
                                                 setText: #acceptCustomPreviewText:;<br>
                                                 editText: #editCustomPreviewText:;<br>
                                                 plainTextOnly: true;<br>
+                                                frame: (LayoutFrame fractions: (0.2@0 corner: 0.8@1));<br>
-                                                frame: (LayoutFrame fractions: (0.15@0 corner: 0.85@1));<br>
                                                 yourself.<br>
                                                 <br>
                                         builder pluggableButtonSpec new<br>
                                                 model: self;<br>
                                                 help: 'Click to see current preview text using the system''s current fonts for comparison' translated;<br>
                                                 label: 'Compare' translated;<br>
                                                 action: #browseSystemFonts;<br>
+                                                frame: (LayoutFrame fractions: (0.8@0 corner: 1@1));<br>
-                                                frame: (LayoutFrame fractions: (0.85@0 corner: 1@1));<br>
                                                 yourself };<br>
                                 frame:  (LayoutFrame<br>
                                         fractions: (0@0 corner: 1@0)<br>
                                         offsets: (0@0 corner: 0@ self customPreviewTextHeight));<br>
                                 yourself.<br>
                                 <br>
                         builder pluggableTextSpec new<br>
                                 model: self;<br>
                                 getText: #previewText;<br>
                                 textStyle: #selectedFontTextStyle;<br>
                                 askBeforeDiscardingEdits: false;<br>
                                 indicateUnacceptedChanges: false;<br>
                                 softLineWrap: false;<br>
                                 padding: self previewTextPadding;<br>
                                 stylerClass: (TextStyler for: #Smalltalk);<br>
                                 menu: #previewTextMenu:shifted:;<br>
                                 frame: (LayoutFrame<br>
                                         fractions: (0@0 corner: 1@1)<br>
                                         offsets: (0 @ self customPreviewTextHeight corner: 0@ self configurationPanelHeight negated));<br>
                                 yourself.<br>
                                 <br>
                         builder pluggablePanelSpec new name: #configPanel; children: (Array streamContents: [:s | | n |<br>
                                 n := 0.<br>
                                 self fontConfigurationSpecs groupsDo: [:kind :get :help :label :group | | w |<br>
                                         kind caseOf: {<br>
                                                 [#spacer] -> [<br>
                                                         w := builder pluggableSpacerSpec new fillSpaceHorizontally].<br>
                                                 [#button] -> [<br>
                                                         w := builder pluggableButtonSpec new<br>
                                                                 model: self; label: label; action: get; help: help; yourself].<br>
                                                 [#text] -> [<br>
                                                         w := builder pluggableInputFieldSpec new<br>
                                                                 model: self; getText: get; setText: get asSimpleSetter;<br>
                                                                 help: help; plainTextOnly: true; yourself].<br>
                                         } otherwise: [ "Ignore" ].<br>
                                         w ifNotNil: [ "Remember the group. See #toggleEditMode"<br>
                                                 w name: (group, (n := n + 1)) asSymbol.<br>
                                                 s nextPut: w] ]]);<br>
                                 layout: #horizontal;<br>
                                 frame: self configurationPanelFrame;<br>
                                 yourself.<br>
                 };<br>
                 yourself!<br>
<br>
<br>
</div>
</span></font>
</body>
</html>