Media Brazil Forum

Versão completa: Help me with this small piece of code.
Você está visualizando uma versão simplificada de nosso conteúdo. Ver versão completa com a formatação apropriada.
So, I have successfully added awards section to the Dialogvideoinfo.xml file. and this is how it looks.

https://i.imgur.com/Aa9y7N3.png

I have multiple icons of awards embedded in the code, and its picking up the numbers of awards from skin helper service, and displaying the number of awards correctly. However The only problem i am facing is with text "Award" section (see below)

https://i.imgur.com/x1BrE0S.png

Currently I am using the code...

Código:
<item>
                        <label></label>
                        <!-- Awards -->
                        <onclick>noop</onclick>
                    </item>
                    <item>
                        <label></label>
                        <label></label>
                        <!-- Awards -->
                        <onclick>noop</onclick>
                    </item>
                    <item>
                        <label>Award</label>
                        <!-- Awards -->
                        <onclick>noop</onclick>
                    </item>

The reason for the extra lables are cos if i dont add them, then the text "award" does not match up to the same line of the oscar award logo.
And for some movies if the awards are more than 10 icons, i have two rows of logos.

Right now its working fine for this movie Aviator...

but for some movies, the award texts gets pushed up or gets pushed below the text box.
See this..

https://i.imgur.com/GJuxLrf.png

So anyone can help me fix this code, and help me with proper code for this section?
This is how it looks for the main view.

This is just for your info.

https://i.imgur.com/j82gO3C.png

With custom option for clear art as well.

https://i.imgur.com/ErGX085.png
For fun i made some modification to the fonts as well.

https://i.imgur.com/VQTw2Px.png

https://i.imgur.com/LqWQTsD.png