<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
    <title></title>
  </head>
  <body bgcolor="#ffffff" text="#000000">
    On 10/21/2021 11:15 AM, Hilaire Fernandes via Cuis-dev wrote:
    <blockquote cite="mid:437910a1-e4ff-d026-f664-06e1c996f071@drgeo.eu"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <p><font size="+1">Hi Juan, <br>
        </font></p>
      <p><font size="+1">As we can add scrollbar to arbitrary morph
          without subclassing (this is very cool for end user
          scripting), we may need the accessors #scrollDeltaHeight: and
          #scrollDeltaWidth: to adjust the v/h delta for the scroll
          events. Here is a proposed changed set.</font></p>
      <p><font size="+1">I saw the classes HierarchicalListMorph,
          PluggableListMorph, TextModelMorph override the getters, it
          may be wise to remove these getters and adjust the variable
          accordingly in the respective initialize methods. I did not do
          that because I will likely break the image.</font></p>
      <p><font size="+1">Best</font></p>
      <p><font size="+1">Hilaire</font><br>
      </p>
      <div class="moz-cite-prefix">Le 19/10/2021 à 14:57, Juan Vuletich
        a écrit :<br>
      </div>
      <blockquote type="cite" cite="mid:616EC0D6.6070800@jvuletich.org">I
        thought this was working. Just pushed some updates to make it
        work again. See examples in class comment in
        PluggableScrollPane. Play with the halo with the inner morph,
        see how scrollbars adjust themselves as needed.<br>
        <br>
        Thanks,</blockquote>
      <pre class="moz-signature" cols="72">-- 
GNU Dr. Geo
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://drgeo.eu">http://drgeo.eu</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://blog.drgeo.eu">http://blog.drgeo.eu</a></pre>
    </blockquote>
    <br>
    Good idea. I didn't like adding two instance variables that are
    generally not used, so I just pushed an implementation that uses
    properties. Subclasses usually ask the scroller, or use some dynamic
    behavior, so they won't benefit from the ivars in any case.<br>
    <br>
    Thanks,<br>
    <pre class="moz-signature" cols="72">-- 
Juan Vuletich
<a class="moz-txt-link-abbreviated" href="http://www.cuis-smalltalk.org">www.cuis-smalltalk.org</a>
<a class="moz-txt-link-freetext" href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev</a>
<a class="moz-txt-link-freetext" href="https://github.com/jvuletich">https://github.com/jvuletich</a>
<a class="moz-txt-link-freetext" href="https://www.linkedin.com/in/juan-vuletich-75611b3">https://www.linkedin.com/in/juan-vuletich-75611b3</a>
@JuanVuletich</pre>
  </body>
</html>