English > Support

Skin help needed

(1/6) > >>

afrocuban:
So, I'm using my own skin, and want to include in it all possible data. I have included also custom fields IMDB_Series-year and Seasons-Episodes.

This is the code I used:

--- Code: ---<row>
                      <column space="0" halign="center" valign="top">IMDB Series Year &amp; Number of Episodes/Seasons:
  <label>
                          <font>
                            <italic/>
                            <bold/>
                          </font>
                          <caption>***</caption>
                        </label>
<spacer width="2"/><label>
                          <font>
                            <italic/>
                            <bold/>
                          </font>
                            <color>$003399</color>
                          </label><custom halign="left" width="172" field="IMDB_Series-year" />
<spacer width="2"/><label>
                          <font>
                            <italic/>
                            <bold/>
                          </font>
                            <color>$003399</color>
                          </label>
  <label>
                          <font>
                            <italic/>
                            <bold/>
                          </font>
                          <caption>***</caption>
                        </label>
<spacer width="2"/><label>
                          <font>
                            <italic/>
                            <bold/>
                          </font>
                            <color>$003399</color>
                          </label>
  <label>
                          <font>
                            <italic/>
                            <bold/>
                          </font>
                          <caption>Number of Episodes/Seasons:</caption>
                        </label>
<spacer width="0"/><label>
                          <font>
                            <italic/>
                            <bold/>
                          </font>
                            <color>$003399</color>
                          </label><label>
                          <font>
                            <italic/>
                            <bold/>
                          </font>
                            <color>$003399</color>
                          </label><custom halign="left" field="Seasons-Episodes" /></column>
                    </row>
--- End code ---

But no matter what I do, I get it left aligned as in the screenshot below:




Can someone help me how to get this centered on the page as I faked it in the screenshot below:



Thank you in advance

Ivek23:
For easier help, attach your skin. This title " IMDB Series Year & amp; Number of Episodes / Seasons: " should be visible or invisible. Then I may be able to solve the problem.

afrocuban:
Here is my skin. Thank you very much in advance

Ivek23:

--- Quote from: afrocuban on November 01, 2020, 05:49:57 pm ---Here is my skin. Thank you very much in advance
--- End quote ---

Thanks for the skin, it is very useful. This also made it easier for me to find a solution.

You are replacing this piece of code

--- Quote ---                      <column space="0" halign="center" valign="top">IMDB Series Year &amp; Number of Episodes/Seasons:
                 <label>
--- End quote ---
with that piece of code

--- Quote ---                      <column space="0" halign="right" valign="top">IMDB Series Year &amp; Number of Episodes/Seasons:
                 <label>
--- End quote ---
and it should be the way you want it.

afrocuban:
Thanks for the fast response, but unfortunately, that didn't do the trick. I tried all alignments without success. As I understand, the problem is to move the content of the column to the center or right, and not the column itself. In the screenshot below, I have edited record, and before that put "right" alignment both on the column and on the Sreies_Year field, but it's still left aligned. Note in the code that I put autosize to "true" in order this to be visible.




--- Code: ---<column space="0" halign="right" autosize="true" valign="top">IMDB Series Year &amp; Number of Episodes/Seasons:
  <label>
                          <font>
                            <italic/>
                            <bold/>
                          </font>
                          <caption>***</caption>
                        </label>
<spacer width="2"/><label>
                          <font>
                            <italic/>
                            <bold/>
                          </font>
                            <color>$003399</color>
                          </label><custom halign="right" field="IMDB_Series-year" />
--- End code ---

Navigation

[0] Message Index

[#] Next page

Go to full version