Search code examples
pharo

How do I change the default height of the System Browser?


I am using an older monitor with the 1280 x 720 resolution. The System Browser is just a tad too big for the screen and I want to change its default height. How could that be done?


Solution

  • Here is how I found the method:

    1. Wrote down 'System Browser', selected it and searched the methods including such a literal string.
    2. Found (this way) ToolRegistry >> menuItems.
    3. From there looked for implementors of openClassBrowser.
    4. Included a halt to debug open.
    5. In NautilusUI >> open went into super open
    6. Some few clicks more until I arrived to NautilusWindow >> initialExtent. Voilà!