From 45b7cf5e2b2b8588f6cdec01fea46ff12403a937 Mon Sep 17 00:00:00 2001 From: arch_agent Date: Sat, 25 Jul 2026 20:12:57 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20Ausr=C3=BCstungs-Panel=20breiter=20(30?= =?UTF-8?q?=E2=86=9245),=20weniger=20Zeilenumbr=C3=BCche?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main.py b/src/main.py index f804c8f..baebd3f 100644 --- a/src/main.py +++ b/src/main.py @@ -110,9 +110,9 @@ def render_game(engine: GameEngine) -> Panel: # === Equipment Panel === equip_table = Table(show_header=False, box=box.SIMPLE, padding=(0, 1), title="[bold]Ausrüstung[/]") equip_table.add_column("Slot", style="cyan", width=10) - equip_table.add_column("Item") + equip_table.add_column("Item", no_wrap=False) - slot_names = {"weapon": "Waffe", "armor": "Rüstung", "helmet": "Helm", "boots": "Stiefel", "accessory": "Accessoire"} + slot_names = {"weapon": "Waffe", "armor": "Rüstung", "helmet": "Helm", "boots": "Stiefel", "accessory": "Accessoir."} for slot, name in slot_names.items(): item = c.equipped[slot] equip_table.add_row(name, str(item) if item else "[dim]leer[/]") @@ -157,9 +157,9 @@ def render_game(engine: GameEngine) -> Panel: # Main: left=char/equip, center=log, right=quest/stats layout["main"].split_row( - Layout(Panel(char_table, title="[bold]Character[/]"), name="left", size=30), + Layout(Panel(char_table, title="[bold]Character[/]"), name="left", size=28), Layout(Panel(log_text, title="[bold]Ereignis-Log[/]"), name="center"), - Layout(name="right", size=30), + Layout(name="right", size=45), ) layout["right"].split_column(