Bug? Setting Right Property of View In Designer Seems Inaccurate

cklester

Well-Known Member
Licensed User
For the attached project, two buttons are placed to the left of their container's right value. However, they don't seem to be positioned correctly according to the values.

The one with -10dip is exactly aligned on the right with its containing (parent) pane. I expect its right position to be 10dip to the left of its container's right position.

The one with -20dip is moved to the left of the right position, which is correct, but not by 20dip it seems.

And where does Button3 go? Aren't views placed relative to their container/parent?
 

Attachments

  • view_placement_02.zip
    8.9 KB · Views: 142
Last edited:

cklester

Well-Known Member
Licensed User
Having done more experimentation with this, I think I've gained a bit more insight into how it all works.

It seems like I need to use different properties when setting the relative position of child views. I've added a resolving project.

This might still be a bug, but it's more likely I was doing it wrong.
 

Attachments

  • view_placement_resolved.zip
    8.9 KB · Views: 152
Top