#18 ✓invalid
Justin

Placement vs Margins

Reported by Justin | June 10th, 2008 @ 12:23 PM | in Limelight 0.2

When placing an item on a panel sort of prop, the items x and y are independent of the margins (ergo they are placed based off of where the visible panel is) however mouse clicks register x and y from where the beginning of the panel is including the margins.

Comments and changes to this ticket

  • Justin

    Justin June 19th, 2008 @ 04:39 PM

    This isn't actually hard to compensate for... however perhaps the margins should be something separate from the prop.

  • Micah Martin

    Micah Martin August 30th, 2008 @ 11:34 AM

    • State changed from “new” to “invalid”
    • Assigned user set to “Micah Martin”
    • Tag cleared.

    This is by design. The margin is part of the prop. Detecting click will have to compensate for any margin, border, and padding. Prop provide a method, areaInsidePadding(), or something like that, which should help.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Elegant UI Framework for Ruby

People watching this ticket

Pages