[Cuis-dev] Button with icon

Hilaire Fernandes hfern at free.fr
Sat May 24 02:30:31 PDT 2025


Behavior has changed has follow:


Setting the color to transparent by default when using an icon does not 
resolve the issue, it looks wrong when hovering it:

The extent of the painted background seems wrong too.

Setting padding, border do not change the behavior

Only setting self roundButtonStyle: false seems to help.

Moreover, adjusting padding does not update the button extent has it 
should. Should it be so?

Anyway, here is changeset fixing all these issues, so it is now possible 
to play nicely with the border and padding of iconic buttons.

Note that in this changeset with iconic buttons, round style is 
deactivated by default.


-- 
http://mamot.fr/@drgeo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20250524/1a2ec8f4/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aq9Etk5eycZthDlv.png
Type: image/png
Size: 41997 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20250524/1a2ec8f4/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: YDFwi1rK0lPWkl5l.png
Type: image/png
Size: 4288 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20250524/1a2ec8f4/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TfLCX1Go8Z4p3v04.png
Type: image/png
Size: 27787 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20250524/1a2ec8f4/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 7069-CuisCore-HilaireFernandes-2025May24-10h35m-hlsf.001.cs.st
Type: application/vnd.sailingtracker.track
Size: 1243 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20250524/1a2ec8f4/attachment-0001.st>


More information about the Cuis-dev mailing list