Button within Textfield

[quote=350068:@Martin T]You are right. The Listbox Variant looks pretty beautiful on macOS, but it’s nothing for Linux.
Maybe someone has a working sample with TextInputCanvas.[/quote]
You’ll still have the same issue. TextInputCanvas is just a blank canvas and unless you draw the gradient, it’s still going to look out of place.

Just out of curiosity… have you seen a Control like this in use in another Linux application? It may not be worth the trouble if it’s not standard ui practice there anyway.

How about using g.ClearRect first before g.DrawRect? Then the gradient should be visible.

Note: don’t have access to Linux at the moment