diff --git a/exts/cesium.omniverse/cesium/omniverse/ui/main_window.py b/exts/cesium.omniverse/cesium/omniverse/ui/main_window.py index 4bc476da..42ae8551 100644 --- a/exts/cesium.omniverse/cesium/omniverse/ui/main_window.py +++ b/exts/cesium.omniverse/cesium/omniverse/ui/main_window.py @@ -231,8 +231,12 @@ def _build_fn(self): clicked_fn=self._sign_out_button_clicked, enabled=False, ) - self._quick_add_widget = CesiumOmniverseQuickAddWidget(self._cesium_omniverse_interface) - self._sign_in_widget = CesiumOmniverseSignInWidget(self._cesium_omniverse_interface, visible=False) + with ui.ScrollingFrame(): + with ui.VStack(spacing=0): + self._quick_add_widget = CesiumOmniverseQuickAddWidget(self._cesium_omniverse_interface) + self._sign_in_widget = CesiumOmniverseSignInWidget( + self._cesium_omniverse_interface, visible=False + ) def _add_button_clicked(self) -> None: if not self._add_button or not self._add_button.enabled: diff --git a/exts/cesium.powertools/cesium/powertools/powertools_window.py b/exts/cesium.powertools/cesium/powertools/powertools_window.py index beb086dd..62504fbe 100644 --- a/exts/cesium.powertools/cesium/powertools/powertools_window.py +++ b/exts/cesium.powertools/cesium/powertools/powertools_window.py @@ -65,6 +65,7 @@ def destroy(self) -> None: super().destroy() def _build_fn(self): - with ui.VStack(spacing=4): - for action in self._actions: - action.button() + with ui.ScrollingFrame(): + with ui.VStack(spacing=4): + for action in self._actions: + action.button()