Jump to content

Recommended Posts

Posted (edited)

Hi guys,
i'm trying to place an image above a map (see screenshot below ).
image.png.8d84006487c1099b4e1157b61930296c.png

The MAP has Position Relative and FlexGrow = 1.
Now i want place an image in the middle-bottom of the map for custom operations.
I've understood that i've to use absolute position, so i place it in the middle-bottom by hand...
If i try to change device size, the image lose the correct position...
There is a way to solve ( or a best practice ? ) 
Thanks a lot,
Bye.

Edited by Luke
Posted

As for me you can use tfglayout with absolute position mode and relative position left=0 right=0 bottom=(some height)

inside layout place image or button with relative position center.

Imho.

  • Thanks 1
Posted

Hy Stas,
you are right!

Excuse me but i'm studing the library and i've to understand better some managements.
Thanks a lot.
 

In the past i've opened the ticket "Relative position with Z-Order" with the same problem.
If you post the same suggesions i will close the ticket.
Thanks a lot.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...