[collab] Fix a reviewer status border

GitOrigin-RevId: 3ae741a23ee258dc0c5ad40588cbe184079c0079
This commit is contained in:
Pavel Gromov
2023-06-20 04:15:01 +00:00
committed by intellij-monorepo-bot
parent 463abfa4aa
commit 03a517b29d
@@ -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)