Skip to content

Commit 0b42002

Browse files
committed
fix: add workspace icon padding
- resolves #90
1 parent 3e26a3c commit 0b42002

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
### Added
88
- warning system when plugin might not be compatible with Coder REST API
99
- a `Create workspace` button which links to Coder's templates page
10+
- workspace icons
1011

1112
### Changed
1213
- redesigned the information&warning banner. Messages can now include hyperlinks

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

+6
Original file line numberDiff line numberDiff line change
@@ -560,6 +560,12 @@ class CoderWorkspacesStepView(val enableNextButtonCallback: (Boolean) -> Unit) :
560560
}
561561

562562
override fun isCenterAlignment() = true
563+
564+
override fun getTableCellRendererComponent(table: JTable?, value: Any?, selected: Boolean, focus: Boolean, row: Int, column: Int): Component {
565+
return super.getTableCellRendererComponent(table, value, selected, focus, row, column).apply {
566+
border = JBUI.Borders.empty(10, 10)
567+
}
568+
}
563569
}
564570
}
565571
}

0 commit comments

Comments
 (0)