Skip to content

Commit 88580d7

Browse files
committed
redesign: table rows without cell borders
1 parent 57c16fe commit 88580d7

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/main/kotlin/com/coder/gateway/views/steps/CoderWorkspacesStepView.kt

+6-1
Original file line numberDiff line numberDiff line change
@@ -569,9 +569,10 @@ class CoderWorkspacesStepView(val enableNextButtonCallback: (Boolean) -> Unit) :
569569
override fun isCenterAlignment() = true
570570

571571
override fun getTableCellRendererComponent(table: JTable?, value: Any?, selected: Boolean, focus: Boolean, row: Int, column: Int): Component {
572-
return super.getTableCellRendererComponent(table, value, selected, focus, row, column).apply {
572+
super.getTableCellRendererComponent(table, value, selected, focus, row, column).apply {
573573
border = JBUI.Borders.empty(10, 10)
574574
}
575+
return this
575576
}
576577
}
577578
}
@@ -590,6 +591,7 @@ class CoderWorkspacesStepView(val enableNextButtonCallback: (Boolean) -> Unit) :
590591
text = value
591592
}
592593
font = JBFont.h3().asBold()
594+
border = JBUI.Borders.empty()
593595
return this
594596
}
595597
}
@@ -609,6 +611,7 @@ class CoderWorkspacesStepView(val enableNextButtonCallback: (Boolean) -> Unit) :
609611
text = value
610612
}
611613
font = JBFont.h3()
614+
border = JBUI.Borders.empty()
612615
return this
613616
}
614617
}
@@ -628,6 +631,7 @@ class CoderWorkspacesStepView(val enableNextButtonCallback: (Boolean) -> Unit) :
628631
text = value
629632
}
630633
font = JBFont.h3()
634+
border = JBUI.Borders.empty()
631635
return this
632636
}
633637
}
@@ -647,6 +651,7 @@ class CoderWorkspacesStepView(val enableNextButtonCallback: (Boolean) -> Unit) :
647651
text = value
648652
}
649653
font = JBFont.h3()
654+
border = JBUI.Borders.empty()
650655
foreground = (table.model as ListTableModel<WorkspaceAgentModel>).getRowValue(row).statusColor()
651656
return this
652657
}

0 commit comments

Comments
 (0)