File tree 1 file changed +7
-1
lines changed
src/main/kotlin/com/coder/gateway/views
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import com.coder.gateway.icons.CoderIcons
5
5
import com.coder.gateway.models.RecentWorkspaceConnection
6
6
import com.coder.gateway.services.CoderRecentWorkspaceConnectionsService
7
7
import com.intellij.openapi.components.service
8
+ import com.intellij.openapi.wm.impl.welcomeScreen.WelcomeScreenUIManager
8
9
import com.intellij.ui.dsl.builder.TopGap
9
10
import com.intellij.ui.dsl.builder.panel
10
11
import com.intellij.ui.dsl.gridLayout.HorizontalAlign
@@ -41,11 +42,16 @@ class CoderGatewayRecentWorkspaceConnectionsView : GatewayRecentConnections {
41
42
}
42
43
}
43
44
row {
44
- scrollCell(recentConnectionsView).resizableColumn().horizontalAlign(HorizontalAlign .FILL ).verticalAlign(VerticalAlign .FILL )
45
+ scrollCell(recentConnectionsView).resizableColumn().horizontalAlign(HorizontalAlign .FILL ).verticalAlign(VerticalAlign .FILL ).applyToComponent {
46
+ background = WelcomeScreenUIManager .getMainAssociatedComponentBackground()
47
+ }
45
48
cell()
46
49
}.topGap(TopGap .NONE ).resizableRow()
47
50
}
51
+ }.apply {
52
+ background = WelcomeScreenUIManager .getMainAssociatedComponentBackground()
48
53
}
54
+
49
55
recentConnectionsView.apply {
50
56
isRootVisible = false
51
57
showsRootHandles = false
You can’t perform that action at this time.
0 commit comments