[Cuis-dev] Tool tips appearance

Hilaire Fernandes hilaire at drgeo.eu
Fri Aug 6 11:17:39 PDT 2021


Hi,

I added a thin black line around the tips, do you like it ? For me it 
has better contrast.

tips


Not optimized and I don't know if it plays nicely with the different Themes.

HoverHelpMorph>>drawOn: aCanvas

     | r |
     r _ self morphLocalBounds.
     aCanvas roundRect: r  color: Color black radius: 6.
     aCanvas roundRect: (r insetBy: 1)  color: self color radius: 4.
     aCanvas
         textComposition: textComposition
         bounds: (r insetBy: 4)
         color: `Color black`
         selectionColor: (Theme current textHighlightFocused: false)


-- 
GNU Dr. Geo
http://drgeo.eu
http://blog.drgeo.eu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20210806/65e4be38/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Capture d??cran de 2021-08-06 20-11-35.png
Type: image/png
Size: 8097 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20210806/65e4be38/attachment.png>


More information about the Cuis-dev mailing list