[Cuis-dev] Tweaks to GUI elements size windows

Juan Vuletich JuanVuletich at zoho.com
Thu Mar 3 04:35:53 PST 2022


On 3/2/2022 5:51 PM, Mariano Montone via Cuis-dev wrote:
> El 2/3/22 a las 17:33, Juan Vuletich escribió:
>> You lost me there. I thought that what I posted was with #stayUp: and 
>> 2 buttons in the menu. Please post a changeset with the alternative, 
>> so I understand.
>
> I mean that I made all these experiments with the buttons in the menu, 
> etc, but then I found that this achieves what I want too:
>
> changeFontSizes
>
>     (MenuMorph new defaultTarget: Preferences)
>         addTitle: 'Make GUI elements';
>         addStayUpIcons;
>         add: 'Huge' action: #hugeFonts;
>         add: 'Very Large' action: #veryLargeFonts;
>         add: 'Large' action: #largeFonts;
>         add: 'Regular Size' action: #standardFonts;
>         add: 'Small' action: #smallFonts;
>         add: 'Very Small'action: #verySmallFonts;
>         add: 'Tiny'action: #tinyFonts;
>         stayUp: true;
>         popUpInWorld: self runningWorld
>
> I'm ok with any solution. Either your patch, or that code above.
>
>
> Mariano
>

Ok. Followed this approach. Pushed to GitHub.

Thanks!

-- 
Juan Vuletich
www.cuis-smalltalk.org
https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
https://github.com/jvuletich
https://www.linkedin.com/in/juan-vuletich-75611b3
https://independent.academia.edu/JuanVuletich
https://www.researchgate.net/profile/Juan-Vuletich
https://patents.justia.com/inventor/juan-manuel-vuletich
@JuanVuletich



More information about the Cuis-dev mailing list