You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2026/06/04 10:37:00 UTC
(camel) 29/33: CAMEL-23672: camel-tui - Use same ROUTE column width in normal and top mode
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch feature/CAMEL-23672-tui-diagram
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 490f11fa31f6fd59b27f56247ad65fb69e584ff7
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Thu Jun 4 11:32:23 2026 +0200
CAMEL-23672: camel-tui - Use same ROUTE column width in normal and top mode
Align the ROUTE column width to 24 in both modes so toggling top mode
does not cause the table layout to shift.
Signed-off-by: Claus Ibsen <da...@apache.org>
Co-Authored-By: Claude Opus 4.6 <no...@anthropic.com>
Signed-off-by: Claus Ibsen <cl...@gmail.com>
---
.../java/org/apache/camel/dsl/jbang/core/commands/tui/RoutesTab.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/RoutesTab.java b/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/RoutesTab.java
index 86d66f680caf..8ff38031a9a7 100644
--- a/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/RoutesTab.java
+++ b/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/RoutesTab.java
@@ -529,7 +529,7 @@ class RoutesTab implements MonitorTab {
rightCell("MSG/S", 8, Style.EMPTY.bold()),
rightCell("LOAD", 12, Style.EMPTY.bold())))
.widths(
- Constraint.length(12),
+ Constraint.length(24),
Constraint.fill(),
Constraint.length(6),
Constraint.length(6),