icon for closing tabs

This commit is contained in:
Zlatin Balevsky
2019-06-01 16:43:05 +01:00
parent 9435cb003b
commit 03d6af39ed
2 changed files with 1 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 298 B

View File

@@ -63,7 +63,7 @@ class SearchTabView {
panel {
label(text : searchTerms, constraints : BorderLayout.CENTER)
}
button(text : "x", preferredSize : [17,17], constraints : BorderLayout.EAST, // TODO: in osx is probably WEST
button(icon : imageIcon("/close_tab.png"), preferredSize : [20,20], constraints : BorderLayout.EAST, // TODO: in osx is probably WEST
actionPerformed : closeTab )
}
}