From d581fdc75219f65e3e3929a47e252ff4a5f4f61c Mon Sep 17 00:00:00 2001 From: BerndN Date: Fri, 23 Oct 2020 14:00:46 +0200 Subject: [PATCH 1/2] [[ Bug 22953 ]] Fix some resizing issues for Extension Builder --- .../revextensionbuilderbehavior.livecodescript | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Toolset/palettes/extension builder/revextensionbuilderbehavior.livecodescript b/Toolset/palettes/extension builder/revextensionbuilderbehavior.livecodescript index e38939e886..c348efc265 100644 --- a/Toolset/palettes/extension builder/revextensionbuilderbehavior.livecodescript +++ b/Toolset/palettes/extension builder/revextensionbuilderbehavior.livecodescript @@ -420,7 +420,12 @@ on resizeStack set the topleft of image "icon_retina" of me to tLeft,tTop put the right of image "icon_retina" of me + tPadding into tLeft set the topleft of image "icon" of me to tLeft,tTop - + put the right of image "icon" of me + tPadding into tLeft + set the topLeft of field "label_svgicon_absent" to tLeft, tTop + set the topLeft of widget "svgicon_retina" of me to tLeft, tTop + put the right of widget "svgicon_retina" of me into tLeft + set the topLeft of widget "svgicon" of me to tLeft, tTop + # Resources put item 1 of tRect + tMargin into tLeft put item 3 of tRect - tMargin into tRight @@ -446,7 +451,7 @@ on resizeStack set the width of field "label_api" of me to tLabelWidth set the topleft of field "label_api" of me to tLeft,tTop put the right of field "label_api" of me + tPadding into tLeft - set the rect of field "message_api" of me to tLeft, tTop, tRight, tTop+the formattedheight of field "message_api" of me - the margins of field "message_api" of me + set the rect of field "message_api" of me to tLeft, tTop, tRight, tTop+the formattedheight of field "message_api" of me - (the margins of field "message_api" of me / 2) # Guide put item 1 of tRect + tMargin into tLeft @@ -454,7 +459,7 @@ on resizeStack set the width of field "label_guide" of me to tLabelWidth set the topleft of field "label_guide" of me to tLeft,tTop put the right of field "label_guide" of me + tPadding into tLeft - set the rect of field "message_guide" of me to tLeft, tTop, tRight, tTop+the formattedheight of field "message_guide" of me - the margins of field "message_guide" of me + set the rect of field "message_guide" of me to tLeft, tTop, tRight, tTop+the formattedheight of field "message_guide" of me - (the margins of field "message_guide" of me / 2) # Console put item 1 of tRect + tMargin into tLeft From 1ca1b9e51c67dd7e22f8c66c5ecd03ada58aca38 Mon Sep 17 00:00:00 2001 From: BerndN Date: Fri, 23 Oct 2020 14:08:11 +0200 Subject: [PATCH 2/2] Create bugfix-22953.md --- notes/bugfix-22953.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 notes/bugfix-22953.md diff --git a/notes/bugfix-22953.md b/notes/bugfix-22953.md new file mode 100644 index 0000000000..c733ceea8c --- /dev/null +++ b/notes/bugfix-22953.md @@ -0,0 +1 @@ +# Fix some resizing issues for Extension Builder