[Cuis-dev] Pluggable button with icon

Juan Vuletich juan at cuis.st
Sun Aug 10 17:20:10 PDT 2025


Hi Hilaire,

On 10/08/2025 6:04 PM, Hilaire Fernandes via Cuis-dev wrote:
>
> Am I misusing because label and icon do not look good together?
>
> Then when button with only icon it does not look good either:
>
>
>
> The button should look right on the first place, independently of the 
> rounded or squared shape.
>

I don't know. I really don't. If you want, prepare an image for me and 
I'll take a look.

My previous answer was only to your suggestion of making #icon: call 
#noButtonShape. In order to keep buttons with icon similar to buttons 
with labels by default, I suggested making the call to #noButtonShape 
yourself. That's a way to get the behaviour you suggested while keeping 
consistent buttons for people using buttons with label and buttons with 
icons together.

If you want me to take a look at your code and make a suggestion, please 
prepare an image (or a complete example that I can run on Cuis base. 
This is of course better for me)

Thanks,

>
>
> Le 10/08/2025 à 21:14, Juan Vuletich a écrit :
>>
>> Hi Hilaire,
>>
>> Other users have reported that a button shape should look with a 
>> label and with an icon, unless the programmer says they want it 
>> different. Sometimes it is impossible to please everybody. Can you 
>> please send #noButtonShape in your code, prior or after calling #icon: ?
>>
>> Thanks,
>>
> -- 
> 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/20250810/8c0b78ce/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Capture d??cran du 2025-08-10 22-57-54.png
Type: image/png
Size: 14518 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20250810/8c0b78ce/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Capture d??cran du 2025-08-10 23-00-16.png
Type: image/png
Size: 43597 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20250810/8c0b78ce/attachment-0003.png>


More information about the Cuis-dev mailing list