Skip to main content
widgets

colorlabel

Implements a label widget with colored text and background

by Reiner Pröls

About

Implements a label with colored text and background as fyne widget. You can use color names defined by Fyne theme or direct NRGBA values. The labels can also be clicked (primary and secondary) and double clicked if needed. You can also set a Text style for bold and italic and Monospace font. Now it is also possible to set that too long text is truncated.

addon screenshot

Installation

You can install this add-on using go get:

go get github.com/bytemystery-com/colorlabel

Or you can download the code directly from git:

git clone https://github.com/bytemystery-com/colorlabel.git