~eliasnaur/gio#43:
Button with icons and text support

Hello, really don’t know if there’s a way to have buttons with text and icons?

Status
REPORTED
Submitter
Uti Michael
Assigned to
No-one
Submitted
30 days ago
Updated
27 days ago
Labels
No labels applied.

~eliasnaur 30 days ago

On Mon Oct 14, 2019 at 12:23 AM Uti Michael wrote:

Hello, really don’t know if there’s a way to have buttons with text and icons?

There is a button with text, and there is a button with an icon, but not one with both. I imagine it would be relatively straightforward to add icon support to the text variant.

-- elias

Uti Michael 29 days ago

You mean users can actually create custom button widgets?, seems I have to create custom layouts and there are unexportable functions like rrect and fill functions. Also are IconButtons only circular?

~eliasnaur 29 days ago

On Mon Oct 14, 2019 at 11:34 PM Uti Michael wrote:

You mean users can actually create custom button widgets?, seems I have to create custom layouts and there are unexportable functions like rrect and fill functions. Also are IconButtons only circular?

My suggestion was to send a patch that expanded the text button to optionally draw an icon.

However, since all of Gio is UNLICENSEd, you can also freely copy the necessary code and draw the icon button yourself.

-- elias

~metaclips 27 days ago

Hello, I was able to implement buttons with text and icon but currently having issues with reading image formats, png, jpg and svg. I noticed gio read image bytes in iconvg format, anyway we could use other image format or better still convert to icing

~metaclips 27 days ago

*iconvg

Register here or Log in to comment, or comment via email.