Kodi Community Forum

Full Version: How to place the image in the center whose height changes?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
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)
(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!
They need to go in the group and that will also probably need dimensions.