I have a label object with an OBJPROP_CORNER=CORNER_RIGHT_UPPER. The label shows a dynamic value, so the the width of the label is also
dynamic. Because of the upper right corner the label widens to the left side.
Question: How can I get the left x-coordinate (means the end to the left) of that label?
What I wanna reach is someting like this:
| Text | | Value |
The center of coordinates for the text label is also the upper right corner. The space between the text and value labels should always be the
same.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hi,
I have a label object with an OBJPROP_CORNER=CORNER_RIGHT_UPPER. The label shows a dynamic value, so the the width of the label is also dynamic. Because of the upper right corner the label widens to the left side.
Question: How can I get the left x-coordinate (means the end to the left) of that label?
What I wanna reach is someting like this:
| Text | | Value |
The center of coordinates for the text label is also the upper right corner. The space between the text and value labels should always be the same.
Thanks community!