Made icons a bit better

There is a new IconNone and an IconUpward, and buttons don't
expand awkwardly when they have an icon.
This commit is contained in:
2023-03-20 01:12:19 -04:00
parent bf667aded9
commit 221647a265
3 changed files with 24 additions and 25 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@@ -64,6 +64,9 @@ type Color int; const (
// Icon lists a number of cannonical icons, each with its own ID.
type Icon int; const (
// IconNone specifies no icon.
IconNone = -1
// Place icons
IconHome Icon = iota
Icon3DObjects
@@ -168,7 +171,9 @@ const (
IconHistory
IconYes
IconNo)
IconNo
IconUpward)
const (
// Status icons