[Cuis-dev] Button with icon

Hilaire Fernandes hfern at free.fr
Sun Jun 1 00:20:44 PDT 2025


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


> 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,

-- 
http://mamot.fr/@drgeo



More information about the Cuis-dev mailing list