LC 6 to 8 some strange expieriences aligning objects at resizeStack
Jan Schenkel
janschenkel at yahoo.com
Fri Nov 18 04:46:34 EST 2016
Hi Tiemo,
You can always revert to the 'emulated' look and feel by changing the theme of the stack from "native" to "legacy".
There's no drop-down in the property inspector, so you'll have to use the message box.
HTH,
Jan Schenkel.
=====
Quartam Reports & PDF Library for LiveCode
www.quartam.com
=====
"As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld)
--------------------------------------------
On Thu, 11/17/16, Tiemo Hollmann TB <toolbook at kestner.de> wrote:
Subject: LC 6 to 8 some strange expieriences aligning objects at resizeStack
To: "LiveCode User Liste senden" <use-livecode at lists.runrev.com>
Date: Thursday, November 17, 2016, 3:34 PM
Hello,
I am migrating an old LC 2-6 stack to LC 8.1.1 In this stack
I resize and
arrange all objects by script when resizing the window.
First experience was, that on Windows everything worked the
same as in LC 6,
all objects looked fine and aligned when resizing.
On OS X 10.11 I am still fiddling around since some days to
get all objects
aligned. The nasty thing is, that I now have lots of code,
which I have to
differentiate between Win and Mac, where I had all the same
code for
resizing up to now in LC 6.
One of the tiny, nasty things is, that the rect of an option
button now can
be different, as the visible rect of the button. Only at the
default button
height of 22 both are congruent. I know, this is a new thing
of the
underlying OS X drawing routines. But since I can't test it,
I have no idea,
what happens going back on a 10.8 system or to Sierra, are
there the same
graphic objects, or do I have to differentiate for
10.8,10.9,..?
What is more annoying is that the height of the stack isn't
anymore the same
as the parameter newHeight of the resizeStack handler (what
it was before on
OS X and still is on Windows). Again lots more of code
differentiation.
Another weird issue is that the video appears 26 pixel lower
as the player
object is located (26 is the height of my stack menubar).
Now I have to
place the player object more to top by the height of the
menubar. Since I
couldn't create a recipie in a test stack for this strange
issue, I didn't
reported this as a bug. Again here I feel very unsafe if
this hard coded
workaround to place the player object more to top, as the
video has to
appear, works on all OS X platforms.
Now I feel very uncomfortable with LC 8.1.1 shortly before
release.
(Unfortunatly I discovered these resizing anomalies on OS X
pretty late in
my project)
Do you have any similar experiences? Any recommendations?
Tiemo
_______________________________________________
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