From 03a517b29d44891d7ef2430bb40b710b8b931483 Mon Sep 17 00:00:00 2001 From: Pavel Gromov Date: Mon, 19 Jun 2023 15:46:20 +0200 Subject: [PATCH] [collab] Fix a reviewer status border GitOrigin-RevId: 3ae741a23ee258dc0c5ad40588cbe184079c0079 --- .../details/CodeReviewDetailsStatusComponentFactory.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/collaboration-tools/src/com/intellij/collaboration/ui/codereview/details/CodeReviewDetailsStatusComponentFactory.kt b/platform/collaboration-tools/src/com/intellij/collaboration/ui/codereview/details/CodeReviewDetailsStatusComponentFactory.kt index 3e912c1ad453..68efcd65152e 100644 --- a/platform/collaboration-tools/src/com/intellij/collaboration/ui/codereview/details/CodeReviewDetailsStatusComponentFactory.kt +++ b/platform/collaboration-tools/src/com/intellij/collaboration/ui/codereview/details/CodeReviewDetailsStatusComponentFactory.kt @@ -134,7 +134,6 @@ object CodeReviewDetailsStatusComponentFactory { ): JComponent { val panel = VerticalListPanel().apply { name = "Code review status: reviewers" - border = JBUI.Borders.empty(STATUS_REVIEWER_BORDER, 0) bindVisibilityIn(scope, reviewersReview.map { it.isNotEmpty() }) } @@ -163,6 +162,7 @@ object CodeReviewDetailsStatusComponentFactory { statusIconsEnabled: Boolean ): JComponent { return HorizontalListPanel(STATUS_REVIEWER_COMPONENT_GAP).apply { + border = JBUI.Borders.empty(STATUS_REVIEWER_BORDER, 0) val reviewerLabel = ReviewDetailsStatusLabel("Code review status: reviewer").apply { iconTextGap = STATUS_REVIEWER_COMPONENT_GAP icon = iconProvider(avatarKeyProvider(reviewer), Avatar.Sizes.BASE)