Skip to content

Commit

Permalink
Fix InfoPanel Tab margins (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
fscarponi authored Jan 25, 2024
1 parent f6e606e commit cf9b6f3
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import androidx.compose.runtime.getValue
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.text.style.TextAlign
import androidx.compose.ui.unit.dp
import com.jetbrains.packagesearch.plugin.PackageSearchBundle
import com.jetbrains.packagesearch.plugin.ui.PackageSearchMetrics
import com.jetbrains.packagesearch.plugin.ui.bridge.LabelInfo
Expand Down Expand Up @@ -48,7 +49,9 @@ fun PackageSearchInfoPanel(
selected = activeTabTitle == infoPanelContent.tabTitle,
closable = false,
content = { tabState ->
SimpleTabContent(infoPanelContent.tabTitle, tabState)
Box(modifier = Modifier.padding(horizontal = 8.dp, vertical = 4.dp)) {
SimpleTabContent(infoPanelContent.tabTitle, tabState)
}
},
onClick = { viewModel.setActiveTabTitle(infoPanelContent.tabTitle) },
)
Expand Down

0 comments on commit cf9b6f3

Please sign in to comment.