Skip to content

Commit fa3027e

Browse files
use status icon for test results, remove icon for tests counter
1 parent 69e2718 commit fa3027e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

sqldev/src/main/java/org/utplsql/sqldev/ui/runner/RunnerPanel.xtend

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ class RunnerPanel implements FocusListener, ActionListener {
488488
val renderer = table.tableHeader.defaultRenderer
489489
val label = renderer.getTableCellRendererComponent(table, value, isSelected, hasFocus, row, col) as JLabel
490490
if (col === 0) {
491-
label.icon = UtplsqlResources.getIcon("UTPLSQL_ICON")
491+
label.icon = UtplsqlResources.getIcon("STATUS_ICON")
492492
label.horizontalAlignment = JLabel.CENTER
493493
} else if (col === 1) {
494494
label.icon = UtplsqlResources.getIcon("WARNING_ICON")
@@ -547,7 +547,7 @@ class RunnerPanel implements FocusListener, ActionListener {
547547
c.weightx = 1
548548
c.weighty = 0
549549
groupPanel.add(comp, c)
550-
val dim = new Dimension(154, 24)
550+
val dim = new Dimension(134, 24)
551551
groupPanel.minimumSize = dim
552552
groupPanel.preferredSize = dim
553553
return groupPanel
@@ -615,8 +615,7 @@ class RunnerPanel implements FocusListener, ActionListener {
615615
// - Test counter
616616
val counterPanel = new JPanel
617617
counterPanel.layout = new WrapLayout(FlowLayout.LEFT, 0, 0)
618-
val testCounterLabel = new JLabel(UtplsqlResources.getString("RUNNER_TESTS_LABEL") + ":",
619-
UtplsqlResources.getIcon("UTPLSQL_ICON"), JLabel::LEADING)
618+
val testCounterLabel = new JLabel(UtplsqlResources.getString("RUNNER_TESTS_LABEL") + ":", JLabel::LEADING)
620619
testCounterValueLabel = new JLabel
621620
counterPanel.add(makeLabelledCounterComponent(testCounterLabel, testCounterValueLabel))
622621
// - Failure counter

0 commit comments

Comments
 (0)