Size restrictions when cloning or create a control in script

panagiotis merakos merakosp at gmail.com
Mon Oct 2 09:40:33 EDT 2017


Hi Tore,

This is a bug, which was fixed in LC 9.0 DP-4:

https://github.com/livecode/livecode-ide/pull/1501

You can modify the file
"/Contents/Toolset/libraries/revbackscriptlibrary.livecodescript" locally
in LC 8.x if you want to back port this change.

Best,
Panos
--

On Mon, Oct 2, 2017 at 2:32 PM, Tore Nilsen via use-livecode <
use-livecode at lists.runrev.com> wrote:

> One of my students have come across what may be a bug. When trying to
> clone a control where width/height is less than 9, LiveCode reverts to
> default sizes set in the preferences for that particular control. The same
> happen if you try to create a new control by setting the with/height of the
> templateControl to less than 9. I know it is possible to create/clone the
> control after a lock screen command has been issued, change the sizes and
> then issue an unlock screen command, but this seems unnecessary, especially
> if you want to clone an existing control where the dimensions are already
> set. After all, if a clone is identical to the original object, then it can
> hardly be called a clone.
>
> Should I file a bug report or is this something that should be considered
> a feature?
>
> Regards
> Tore Nilsen
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list