Skip to content

Commit 15522d1

Browse files
authored
Skipper tui fix rc bridge (ydb-platform#23455) (ydb-platform#24309)
2 parents 6875cc5 + 0611def commit 15522d1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ydb/apps/bridge_skipper_demo/skipper_tui.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ class KeeperApp(App):
107107
#piles_group { height: 10; align: center middle; content-align: center middle; }
108108
#history_view { height: 20; }
109109
#logs_view { height: 1fr; }
110-
.pile { width: 25; margin: 0 1; align: center middle; }
110+
.pile { width: 25; height: 5; margin: 0 1; align: center middle; content-align: center middle; }
111111
"""
112112

113113
def __init__(
@@ -195,7 +195,8 @@ async def refresh_once(self) -> None:
195195
widgets_to_mount.append(w)
196196

197197
if widgets_to_mount:
198-
self.piles_group.mount(*widgets_to_mount)
198+
await self.piles_group.mount(*widgets_to_mount)
199+
self.piles_group.refresh(layout=True)
199200

200201
for name in ordered_names:
201202
widget = self.pile_widgets[name]

0 commit comments

Comments
 (0)