diff --git a/cli/src/main/kotlin/OrtMain.kt b/cli/src/main/kotlin/OrtMain.kt index bd7e72cbb1059..d7f27496eb3e1 100644 --- a/cli/src/main/kotlin/OrtMain.kt +++ b/cli/src/main/kotlin/OrtMain.kt @@ -83,7 +83,7 @@ private val ORT_LOGO = """ \________/ |____|___/ |____| """.trimIndent() -private val ORT_LOGO_WIDTH = ORT_LOGO.lines().maxOf { it.length } +private const val HIGHEST_WIDTH_PRIORITY = 100 class OrtMain : CliktCommand( name = ORT_NAME, @@ -171,7 +171,10 @@ class OrtMain : CliktCommand( private fun getOrtHeader(version: String): Widget = grid { - column(0) { width = ColumnWidth.Fixed(ORT_LOGO_WIDTH) } + column(0) { + width = ColumnWidth.Custom(width = null, expandWeight = null, priority = HIGHEST_WIDTH_PRIORITY) + } + column(1) { verticalAlign = VerticalAlign.BOTTOM } padding { bottom = 1 }