How to place the image in the center whose height changes?
#1
Hi!

How to place image in center whose height changes?

So does not work:

<?xml version="1.0" encoding="UTF-8"?>
<window>
    <align>center</align>
    <aligny>center</aligny>
    <controls>
        <control type="group">
...

Th.
Reply
#2
There are some controls available for positioning the center of the image.   I think you are looking for <centerleft> or similar.  Hopefully some of this will work for you.

Default_control_tags (wiki)
Reply
#3
(2019-03-14, 21:00)illfigurethisout Wrote: There are some controls available for positioning the center of the image.   I think you are looking for <centerleft> or similar.  Hopefully some of this will work for you.

Default_control_tags (wiki)
 Thank!
But it does not work:

<?xml version="1.0" encoding="UTF-8"?>
<window>
<centerleft>25%</centerleft>
<centertop>25%</centertop>
    <controls>
        <control type="group">
...
I need to position the whole group of elements, depending on the height!
Reply
#4
They need to go in the group and that will also probably need dimensions.
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
How to place the image in the center whose height changes?00