Details on how the Message Box behaves, which explains the seeming
anomaly and is perhaps just fun to know (esp. if you ever want to write
a drop-in Message Box replacement):
https://forums.livecode.com/viewtopic.php?f=9&t=34903#p198108
--
Richard Gaskin
Fourth World Systems
Software Design
Using the backgroundPattern seems intuitive, but read the fine print:
image dimensions have very specific requirements, and not heeding those
can yield unpredictable results.
Earlier this year I had a project that used backgroundPattern as a way
to use the graphic shape to mask an image. It w
Patterns are drawn from the top left so you'd need to create an image with
the same dimensions as the oval with its content already centered. This
will only work if the oval never changes its size.
Another way is to place the image behind the oval graphic and group them.
--
Jacqueline Landman
I should have said just create an image file the size and appearance that you
want it to be, then import it into Livecode.
Bob S
On Nov 11, 2020, at 8:40 AM, Bob Sneidar via use-livecode
mailto:use-livecode@lists.runrev.com>> wrote:
Ideally though, just create an image file the size and appea
As a pattern of a graphic, I don’t think so. Even scaling the graphic does not
shrink or alter the position of the pattern.
Why are you using a graphic instead of just an image? I think you can mask an
image, so it should be possible to only show through what you want.
Ideally though, just crea
Hi Graig,
I think I understand it a bit better now.
The image I used has different dimensions than the graphic oval.
See screenshot: https://ibb.co/0tXkLHy
I could scale the image down to the same size (width) as the oval graphic
but then I don;t get the center of the image.
Because it is a patte
The message box is not a container. It’s a stack. A stack that tracks global
properties, global variables, pending messages and stacks in use actively. It
stands to reason then that it has to be either in the message path somehow. I’m
not sure how that affects things, but I have noticed while at
Hi.
I made an oval graphic and set the backGroundPattern to the ID of a random
image I imported to the card. It filled the grc perfectly. Do you have a
screenshot of what you are seeing?
Craig
-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Hi there,
When I set the BackgroundPattern of an graphic oval to the image ID, the
image is not centered inside the oval graphic.
What is a better way to add an image to a graphic oval (and center it?
greetings,
William
___
use-livecode mailing list
u
> On 10 Nov 2020, at 11:14 pm, Craig newman via use-livecode
> wrote:
>
> So then LC knows when the message box is about to be the target, and
> therefore acts differently than with any other container. The actual already
> executed command "put" is left stranded, unrequited, because the nex
10 matches
Mail list logo