Skip to content
This repository has been archived by the owner on Apr 10, 2022. It is now read-only.

Commit

Permalink
Show HEX code in tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
DVDAndroid committed Aug 31, 2017
1 parent c318d7e commit 49bd7c6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ internal class ColorRender(private val children: Boolean) : JPanel(), ListCellRe

layout = GridBagLayout()
background = Color.decode(color.hexCode)
toolTipText = color.fixedName
toolTipText = "${color.fixedName} (${color.hexCode})"

minimumSize = Dimension(size, size)
maximumSize = Dimension(size, size)
Expand Down

0 comments on commit 49bd7c6

Please sign in to comment.