From aeab7d0cab2302b8ee2440fcb28d14c2403249e5 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Tue, 1 Jul 2025 15:07:43 +1000 Subject: [PATCH] feat(ui): tidy upscaling tab launchapd --- .../SimpleSession/LaunchpadButton.tsx | 4 ++- .../SimpleSession/UpscalingLaunchpadPanel.tsx | 33 +++++++------------ 2 files changed, 15 insertions(+), 22 deletions(-) diff --git a/invokeai/frontend/web/src/features/controlLayers/components/SimpleSession/LaunchpadButton.tsx b/invokeai/frontend/web/src/features/controlLayers/components/SimpleSession/LaunchpadButton.tsx index 26ea2950d5..1bc05469da 100644 --- a/invokeai/frontend/web/src/features/controlLayers/components/SimpleSession/LaunchpadButton.tsx +++ b/invokeai/frontend/web/src/features/controlLayers/components/SimpleSession/LaunchpadButton.tsx @@ -14,7 +14,9 @@ export const LaunchpadButton = memo( justifyContent="left" borderWidth={1} borderRadius="base" - p={4} + pe={6} + pb={6} + ps={8} pt={6} gap={2} w="full" diff --git a/invokeai/frontend/web/src/features/controlLayers/components/SimpleSession/UpscalingLaunchpadPanel.tsx b/invokeai/frontend/web/src/features/controlLayers/components/SimpleSession/UpscalingLaunchpadPanel.tsx index 59a5453023..f78e8ac646 100644 --- a/invokeai/frontend/web/src/features/controlLayers/components/SimpleSession/UpscalingLaunchpadPanel.tsx +++ b/invokeai/frontend/web/src/features/controlLayers/components/SimpleSession/UpscalingLaunchpadPanel.tsx @@ -1,4 +1,4 @@ -import { Box, Button, Flex, Grid, Heading, Icon, Text } from '@invoke-ai/ui-library'; +import { Box, Button, ButtonGroup, Flex, Grid, Heading, Icon, Text } from '@invoke-ai/ui-library'; import { useAppDispatch, useAppSelector } from 'app/store/storeHooks'; import { useImageUploadButton } from 'common/hooks/useImageUploadButton'; import { setUpscaleInitialImageDndTarget } from 'features/dnd/dnd'; @@ -66,8 +66,8 @@ export const UpscalingLaunchpadPanel = memo(() => { return ( - - {t('ui.launchpad.upscalingTitle')} + + {t('ui.launchpad.upscalingTitle')} {/* Upload Area */} @@ -105,7 +105,7 @@ export const UpscalingLaunchpadPanel = memo(() => { {/* Guidance text */} {upscaleInitialImage && ( - + {t('ui.launchpad.upscaling.readyToUpscale.title')}{' '} {t('ui.launchpad.upscaling.readyToUpscale.description')} @@ -114,18 +114,15 @@ export const UpscalingLaunchpadPanel = memo(() => { )} {/* Controls */} - - + {/* Left Column: Creativity and Structural Defaults */} - Creativity & Structural Defaults + Creativity & Structure Defaults - + - + {/* Right Column: Description/help text */}