From 1c54ba47214ff5ea45e4b481b9d9f78ab04f35a2 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Tue, 3 Jan 2023 10:55:01 -0500 Subject: [PATCH] Add back another panes resize during startup --- piker/ui/_display.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/piker/ui/_display.py b/piker/ui/_display.py index 05b901d0..bf452c71 100644 --- a/piker/ui/_display.py +++ b/piker/ui/_display.py @@ -1217,6 +1217,9 @@ async def display_symbol_data( # add_label=False, # ) + godwidget.resize_all() + await trio.sleep(0) + for fqsn, flume in fitems[1:]: # get a new color from the palette bg_chart_color, bg_last_bar_color = next(palette) @@ -1376,9 +1379,11 @@ async def display_symbol_data( # as final default UX touch. rt_chart.default_view() rt_chart.view.enable_auto_yrange() + await trio.sleep(0) hist_chart.default_view() hist_chart.view.enable_auto_yrange() + await trio.sleep(0) godwidget.resize_all()