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:

<?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.

https://kodi.wiki/view/Default_control_tags
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.

https://kodi.wiki/view/Default_control_tags
 Thank!
But it does not work:
xml:

<?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

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