<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Hilaire,<br>
<br>
Apologies for the inconvenience. Other users made me realize that
the drawing of buttons was visually inconsistent if you had both
buttons with Icon and buttons with Label side by side. My change was
an attempt to fix that, without realizing I was breaking purely
iconic buttons like yours.<br>
<br>
Your code is OK, but it (unsurprisingly) it breaks the other use
case. I just pushed an update that integrates most of your code, but
adds a new method #iconOnly: to specify the icon, and that nothing
else should be drawn for this button. May I ask you to change your
senders to this new selector?<br>
<br>
Thanks for your patience.<br>
<br>
Cheers,<br>
<br>
On 5/24/2025 6:30 AM, Hilaire Fernandes via Cuis-dev wrote:
<blockquote cite="mid:43a362ff-7877-45d6-aa3e-75268cc359aa@free.fr"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p>Behavior has changed has follow:</p>
<p><img src="cid:part1.06030801.08010202@cuis.st" alt=""></p>
<p><br>
</p>
<p>Setting the color to transparent by default when using an icon
does not resolve the issue, it looks wrong when hovering it:</p>
<p><img src="cid:part2.05090203.07000402@cuis.st" alt=""></p>
<p>The extent of the painted background seems wrong too.<br>
</p>
<p>Setting padding, border do not change the behavior</p>
<p>Only setting self roundButtonStyle: false seems to help.</p>
<p>Moreover, adjusting padding does not update the button extent
has it should. Should it be so?</p>
<p>Anyway, here is changeset fixing all these issues, so it is now
possible to play nicely with the border and padding of iconic
buttons. <br>
</p>
<p>Note that in this changeset with iconic buttons, round style is
deactivated by default.<br>
</p>
<p><img src="cid:part3.01020303.08040301@cuis.st" alt=""></p>
<p><br>
</p>
<pre class="moz-signature" cols="72">--
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://mamot.fr/@drgeo">http://mamot.fr/@drgeo</a></pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
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</pre>
</body>
</html>