English > Support

Can I avoid the links?

<< < (7/8) > >>

Peter:
All works fine with your solution, Ivek23. I have transferred in the meantime my old entries to the new skin and from now on I am working directly with it.  :)

I would like to ask you about a small (and surely not very important) detail:

It would be fine if my custom field "Darsteller" * could look like exactly in the same way as the corresponding field "Actors" (respectively in German "Darsteller") in my old skin (= the one with the links).
*[in the meantime I changed the name to "Darsteller/innen" but this is of no importance for my issue]

That means:

a) The name of the field ("Darsteller") should always be in the first line beside the field (on top) [see picture 01] and not in the middle [see picture 02]. (achieved in the old skin by valign="top")

b) It would be nice if more lines of this field (for example the first 5 lines) could always be visible (expanded) [see picture 01] and not only the first line [see picture 03]. (achieved in the old skin obviously by collapsedlines="5") It would also be o.k. if all lines of this field are always expanded.

Here the parts of the xml files which seem to be relevant in this matter:

From my old skin (= the one with links) (= pvd_classic_movie.xml with small modifications):


--- Code: --- <row>
   <column width="120" halign="right" valign="top">
    <fieldlabel field="human" category="0"/>
   </column>
   <column>
<human category="0" collapsedlines="5"/>
   </column>
  </row>
--- End code ---

From my new skin (= the one without links) (= pvd_classic-movie (ex).xml with small modifications):


--- Code: ---  <row>
       <column>
        <label width="128" halign="right">
          <caption>Darsteller/innen:</caption>
        </label>
        <spacer width="7" />
    <custom field="Darsteller/innen:"></custom>
        <spacer width="11" />
   </column>
<column>
   </column>
  </row>
--- End code ---

If it is easy for you to find out how I would have to change the xml file, I would be grateful for your advice.

Ivek23:

--- Quote from: Peter on January 08, 2017, 09:52:14 pm ---
--- Code: ---  <row>
       <column>
        <label width="128" halign="right">
          <caption>Darsteller/innen:</caption>
        </label>
        <spacer width="7" />
    <custom field="Darsteller/innen:"></custom>
        <spacer width="11" />
   </column>
<column>
   </column>
  </row>
--- End code ---

If it is easy for you to find out how I would have to change the xml file, I would be grateful for your advice.
--- End quote ---

This should solve the problem.


--- Code: ---  <row>
       <column>
        <label width="128" halign="right" valign="top">
          <caption>Darsteller/innen:</caption>
        </label>
        <spacer width="7" />
    <custom field="Darsteller/innen:" collapsedlines="15"></custom>
        <spacer width="11" />
   </column>
   </row>
--- End code ---

Number in ' collapsedlines ' can be changed if necessary as far as you will need that this field will always remain fully open.

Peter:
Wow, so easy.  ;) Formerly I had tried to make similar entries in the xml-file, but without success. That's why I had asked. Now - with your support - all the lines in the field are automatically visible. Perfect! Once more: thank you, Ivek23.

Only a small detail still does not work as it should: The field name ("Darsteller/innen") is still in the middle instead in the first line (when the contents fills 2 or more lines). This happens although I added the valign="top" on the place you showed me.

If it is easy for you, it would be nice if you could tell me what should additionally be changed (so that it is in the first line). But it is really of no big importance. So please do not spend a lot of time or research work on this. I ask only in case that it is obvious and easy for you to find out what should be modified additionally in the xml-file.

Ivek23:
You may try this
--- Code: ---  <row>
       <column halign="right" valign="top">
<spacer width="12" />
        <label width="128">
          <caption>Darsteller/innen:</caption>
        </label>
        <spacer width="7" />
    <custom field="Darsteller/innen:" collapsedlines="15"></custom>
        <spacer width="11" />
   </column>
   </row>
--- End code ---

If necessary, you can change the settings. For you I did this combination, which will require changes to the figures.



This is my example of how I  ' <caption> TheMoviedb Aka: </ caption> '  became the first in a series of what you would like to have.

--- Code: ---              <row>
                <column halign="right" valign="top">
                  <spacer width="12" />
                  <label width="107">
                    <caption>TheMoviedb Aka:</caption>
                  </label>
                  <custom field="TheMoviedb Aka">
                    <color>$D7FDDD</color>
                    <font>
                      <name>Franklin Gothic Medium</name>
                      <!-- <color>$D7FDDD</color>
  <color>$8000EEA</color>
  <name>Franklin Gothic Medium</name>
  <size>11</size>-->
                      <bold />
                    </font>
                  </custom>
                  <spacer width="11" />
                </column>
              </row>
--- End code ---

Ivek23:

--- Quote from: Ivek23 on January 21, 2017, 09:10:53 am ---You may try this
--- Code: ---  <row>
       <column halign="right" valign="top">
<spacer width="12" />
        <label width="128">
          <caption>Darsteller/innen:</caption>
        </label>
        <spacer width="7" />
    <custom field="Darsteller/innen:" collapsedlines="15"></custom>
        <spacer width="11" />
   </column>
   </row>
--- End code ---

If necessary, you can change the settings. For you I did this combination, which will require changes to the figures.



This is my example of how I  ' <caption> TheMoviedb Aka: </ caption> '  became the first in a series of what you would like to have.

--- Code: ---              <row>
                <column halign="right" valign="top">
                  <spacer width="12" />
                  <label width="107">
                    <caption>TheMoviedb Aka:</caption>
                  </label>
                  <custom field="TheMoviedb Aka">
                    <color>$D7FDDD</color>
                    <font>
                      <name>Franklin Gothic Medium</name>
                      <!-- <color>$D7FDDD</color>
  <color>$8000EEA</color>
  <name>Franklin Gothic Medium</name>
  <size>11</size>-->
                      <bold />
                    </font>
                  </custom>
                  <spacer width="11" />
                </column>
              </row>
--- End code ---

--- End quote ---

This solution will also be useful for other users, which would like to have the same solution in the skin for memo fields.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version