Coodinates used to place buttons

Just starting out? Need help? Post your questions and find answers here.
User avatar
Distorted Pixel
Enthusiast
Enthusiast
Posts: 233
Joined: Sun Aug 29, 2021 4:34 am

Coodinates used to place buttons

Post by Distorted Pixel »

Hi,

I have searched the PB help files and forums, but have been unluckly in finding an answer.

When placing a ImageButton or ButtonImageGadget, what part of it is used for the placement coordinates? Top left corner, center of ImageButton/ImageButtonGadget? Knowing this will help me speed up in placement of my buttons.
To be popular is way to much work. I just want to be me, myself and I. Oh no, does that mean I'm bipolar? :shock:

No one cares how much you know until they know how much you care
User avatar
Demivec
Addict
Addict
Posts: 4086
Joined: Mon Jul 25, 2005 3:51 pm
Location: Utah, USA

Re: Coodinates used to place buttons

Post by Demivec »

The coordinates used refer to the gadget's top left corner.
User avatar
Distorted Pixel
Enthusiast
Enthusiast
Posts: 233
Joined: Sun Aug 29, 2021 4:34 am

Re: Coodinates used to place buttons

Post by Distorted Pixel »

Demivec wrote: Thu Jan 27, 2022 7:44 pm The coordinates used refer to the gadget's top left corner.
Thank you, I was assuming it was top left corner, but was unsure. I have used other basic languages that used the top left corner too.
To be popular is way to much work. I just want to be me, myself and I. Oh no, does that mean I'm bipolar? :shock:

No one cares how much you know until they know how much you care
Post Reply