diff --git a/src/main/kotlin/com/jetpackduba/gitnuro/App.kt b/src/main/kotlin/com/jetpackduba/gitnuro/App.kt index af58124..650074e 100644 --- a/src/main/kotlin/com/jetpackduba/gitnuro/App.kt +++ b/src/main/kotlin/com/jetpackduba/gitnuro/App.kt @@ -278,7 +278,7 @@ class App { }, onTabClosed = onCloseTab, onAddNewTab = onAddedTab, - tabsHeight = 40.dp, + tabsHeight = 36.dp, onMoveTab = { fromIndex, toIndex -> tabsManager.onMoveTab(fromIndex, toIndex) }, diff --git a/src/main/kotlin/com/jetpackduba/gitnuro/ui/CommitChanges.kt b/src/main/kotlin/com/jetpackduba/gitnuro/ui/CommitChanges.kt index 3a4be81..acb8767 100644 --- a/src/main/kotlin/com/jetpackduba/gitnuro/ui/CommitChanges.kt +++ b/src/main/kotlin/com/jetpackduba/gitnuro/ui/CommitChanges.kt @@ -327,7 +327,7 @@ fun CommitLogChanges( ) { Column( modifier = Modifier - .height(40.dp) + .height(36.dp) .fillMaxWidth() .handMouseClickable { onDiffSelected(diffEntry) diff --git a/src/main/kotlin/com/jetpackduba/gitnuro/ui/log/Log.kt b/src/main/kotlin/com/jetpackduba/gitnuro/ui/log/Log.kt index 4246e7c..e1c168c 100644 --- a/src/main/kotlin/com/jetpackduba/gitnuro/ui/log/Log.kt +++ b/src/main/kotlin/com/jetpackduba/gitnuro/ui/log/Log.kt @@ -80,7 +80,7 @@ private const val MARGIN_GRAPH_LANES = 2 private const val LANE_WIDTH = 30f private const val DIVIDER_WIDTH = 8 -private const val LINE_HEIGHT = 40 +private const val LINE_HEIGHT = 36 private const val LOG_BOTTOM_PADDING = 80 // TODO Min size for message column @@ -635,7 +635,7 @@ fun UncommittedChangesLine( ) { Row( modifier = Modifier - .height(40.dp) + .height(LINE_HEIGHT.dp) .padding(start = graphWidth) .backgroundIf(isSelected, MaterialTheme.colors.backgroundSelected) .padding(DIVIDER_WIDTH.dp),