From d33efaf481a3b7a2a294ce043aea772e40518629 Mon Sep 17 00:00:00 2001 From: BerndN Date: Fri, 14 Sep 2018 14:23:50 +0200 Subject: [PATCH 1/2] [Bug 21585] Fix graphics size in PI -> Effects This fix references a stable size (button 1) instead of the rect of the group. This gives consistent heights of graphics when resizing or lock/unlocking PI --- .../com.livecode.pi.graphiceffect.behavior.livecodescript | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Toolset/palettes/inspector/editors/com.livecode.pi.graphiceffect.behavior.livecodescript b/Toolset/palettes/inspector/editors/com.livecode.pi.graphiceffect.behavior.livecodescript index 11d1dc9f4e..c468944088 100644 --- a/Toolset/palettes/inspector/editors/com.livecode.pi.graphiceffect.behavior.livecodescript +++ b/Toolset/palettes/inspector/editors/com.livecode.pi.graphiceffect.behavior.livecodescript @@ -119,7 +119,9 @@ on editorResize local tRect put the rect of me into tRect - set the rect of graphic 1 of me to the right of button 1 of me, item 2 of tRect + 2, item 3 of tRect - 5, item 4 of tRect - 5 + set the rect of graphic 1 of me to the right of button 1 of me, \ + the top of button 1 of me + 3, item 3 of tRect - 5, \ + the bottom of button 1 of me - 3 unlock messages unlock screen end editorResize From 82789cbfcfda3dbef863a9bdfb027376a441224d Mon Sep 17 00:00:00 2001 From: BerndN Date: Fri, 14 Sep 2018 14:29:11 +0200 Subject: [PATCH 2/2] Create bugfix-21585.md --- notes/bugfix-21585.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 notes/bugfix-21585.md diff --git a/notes/bugfix-21585.md b/notes/bugfix-21585.md new file mode 100644 index 0000000000..7f3111349d --- /dev/null +++ b/notes/bugfix-21585.md @@ -0,0 +1 @@ +# Make height of sample graphics in PI-> Effects stable