[Cuis-dev] Pluggable button with icon
Juan Vuletich
juan at cuis.st
Tue Aug 12 11:49:54 PDT 2025
Very nice. I did minimal changes, like 'rectangular' instead of 'square'
and pushed it to github.
Thanks!
On 12/08/2025 1:09 PM, Hilaire Fernandes via Cuis-dev wrote:
>
> There is not specific context.
>
> Try, in a Workspace, the examples I showed in the earlier screenshot:
>
> (PluggableButtonMorph model: self action: #addArgument label: 'Toto')
> icon: Theme current listAddIcon ;
> setBalloonText: 'Add an argument to this script.' translated;
> scale: 5;
> openInWorld
>
> The label and icon does not look right together. I don't know how icon
> and label are supposed to look right together.
>
> (PluggableButtonMorph model: self action: #addArgument)
> icon: Theme current listAddIcon ;
> setBalloonText: 'Add an argument to this script.' translated;
> scale: 5;
> openInWorld
>
> When only icon, it does not look exactly right. On an element of GUI
> construction, I don't think it is up to the user to adjust manually
> the extent of the button. It makes the user code unnecessary complicate.
>
> The roundButtonStyle attribute may need to be rationalized: it can be
> nil, #none, true or false.
>
> This change set improve both the semantic of roundButtonStyle (renamed
> buttonStyle) and try to fix the situation of rounded button with icon.
>
> It does not fix the situation of button with both label and icon. Was
> it ever a viable way to have button?
>
>
> Le 11/08/2025 à 19:15, Juan Vuletich a écrit :
>> I can't run that, because I don't have the context.
> --
> http://mamot.fr/@drgeo
>
--
Juan Vuletich
www.cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20250812/436683a5/attachment.htm>
More information about the Cuis-dev
mailing list