[Cuis-dev] Button with icon
Juan Vuletich
juan at cuis.st
Mon Jun 2 11:31:36 PDT 2025
Hi Hilaire,
On 6/1/2025 4:20 AM, Hilaire Fernandes via Cuis-dev wrote:
> Le 27/05/2025 à 22:37, Juan Vuletich a écrit :
>> Sure, but how we specify "icon + visible button" then?
>
> with Color ~= Color transparent ?
>
> if color transparent -> no shape (and only icon highligh when pointer
> hover button)
>
> if color non transparent -> shape
That makes sense, but the problem is that in many cases the color is set
by the GUI Theme.
What about sending a new message #noButtonShape?
Thanks,
>
>
>> If we make it 'iconPlusButtonShape:' then we'd also change 'label:'
>> into 'labelPlusButtonShape:' for consistency. It seemed to me that
>> buttons to have a button shape, and optional icon, label or both
>> should be the default. In any case, we need to find good wording for
>> all cases, right?
>
> May be I don't understand the whole problem, nevertheless I will avoid
> at all cost to have an extended protocol with #iconPlusButtonShape:,
> #iconOnly: #icon: #labelPlusButtonShape: etc.
>
> It will be cumbersome.
>
>>
>> Thanks,
>
--
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich
More information about the Cuis-dev
mailing list