From 4545e2fb33211bbb7209f4529f8f74cefb4cd7e0 Mon Sep 17 00:00:00 2001 From: lsemp3d <58790905+lsemp3d@users.noreply.github.com> Date: Tue, 24 Aug 2021 16:27:55 -0700 Subject: [PATCH] Improved layout and behavior of the SlotTypeSelector widget Signed-off-by: lsemp3d <58790905+lsemp3d@users.noreply.github.com> --- .../VariablePanel/SlotTypeSelectorWidget.ui | 206 +++++++++--------- 1 file changed, 109 insertions(+), 97 deletions(-) diff --git a/Gems/ScriptCanvas/Code/Editor/View/Widgets/VariablePanel/SlotTypeSelectorWidget.ui b/Gems/ScriptCanvas/Code/Editor/View/Widgets/VariablePanel/SlotTypeSelectorWidget.ui index 0ba609717b..aa6d3356ec 100644 --- a/Gems/ScriptCanvas/Code/Editor/View/Widgets/VariablePanel/SlotTypeSelectorWidget.ui +++ b/Gems/ScriptCanvas/Code/Editor/View/Widgets/VariablePanel/SlotTypeSelectorWidget.ui @@ -6,110 +6,122 @@ 0 0 - 278 - 316 + 294 + 265 - - - 0 - 0 - - Pick slot name/type false - - - - 0 - 0 - 278 - 278 - - - - - - - 0 - - - 10 - - - 0 - - - 10 - - - 30 - - - - - - - - Search... - - - - - - - true - - - QAbstractItemView::SingleSelection - - - QAbstractItemView::SelectRows - - - false - - - false - - - - - - - Qt::Horizontal - - - - - - - - - Type the name for your slot here... - - - - - - - - - Qt::StrongFocus - - - QDialogButtonBox::Cancel|QDialogButtonBox::Ok - - - - - - - + + + + + 0 + + + QLayout::SetMaximumSize + + + 10 + + + 0 + + + 10 + + + 0 + + + + + Slot Name + + + + + + + + 0 + 0 + + + + Type the name for your slot here... + + + + + + + Slot Type + + + + + + + + 0 + 0 + + + + + + + Search... + + + + + + + true + + + QAbstractItemView::SingleSelection + + + QAbstractItemView::SelectRows + + + false + + + false + + + + + + + Qt::Horizontal + + + + + + + + + + Qt::StrongFocus + + + QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + + + + + @@ -124,7 +136,7 @@ - + buttonBox accepted()