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:
Binary file not shown.
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user