• 1
  • 6
  • 7
  • 8(current)
  • 9
  • 10
  • 16
Skinning for beginners - Foundation skin, skinning tools, and tips
No, manually added via nfo. file
Then if XBMC doesn't have it in the database you can't display it.
Daft question but can it be put in xbmc's database?
(2012-10-16, 12:05)hannahjo Wrote: Daft question but can it be put in xbmc's database?

no there is no db field for that
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Found a solution which is not exactly what I want but will do. Put info into <instruments></instruments>. At least this way I can see who played on the album.
Thanks for your info all who helped, it was much appreciated.
Thanks for this foundation skin Hitcher.

I have a question, i don't really understand.
When i enable the debug grid and add some text like this:

Code:
<control type="label">
            <label>Home</label>
            <posx>120</posx>
            <posy>100</posy>
            <height>30</height>
            <width>250</width>
            <font>fontname</font>
            <align>left</align>
        </control>

Then i see the start of the first letter appear nicely on 120 when i check with the grid. But with the y it does not position the top or the bottom of the text on 100. Is this the font itself or is there a other explanation for this?



Nvidia Shield 2019 Pro, Nvidia Shield 2015
Default value <aligny>center</aligny>.
Ahh ok thanks that make sense Big Grin
Nvidia Shield 2019 Pro, Nvidia Shield 2015
I try to understand how things work, i got 2 more questions:

Image

Code:
<control type="label">
            <label>Start</label>
            <posx>100</posx>
            <posy>100</posy>
            <height>100</height>
            <width>250</width>
            <align>left</align>
            <aligny>top</aligny>
            <font>Large</font>
            <textcolor>White</textcolor>
        </control>

        <control type="label">
            <label>Start</label>
            <posx>300</posx>
            <posy>100</posy>
            <height>100</height>
            <width>250</width>
            <align>left</align>
            <aligny>top</aligny>
            <font>Large</font>
            <textcolor>White</textcolor>
        </control>

I gave it a height of 100, when you see the picture grid it is on 120 is this font related?

Now i changed the fontsize of the second label to Small why does the posy change as it is still unchanged?

Image

Code:
<control type="label">
            <label>Start</label>
            <posx>100</posx>
            <posy>100</posy>
            <height>100</height>
            <width>250</width>
            <align>left</align>
            <aligny>top</aligny>
            <font>Large</font>
            <textcolor>White</textcolor>
        </control>

        <control type="label">
            <label>Start</label>
            <posx>300</posx>
            <posy>100</posy>
            <height>100</height>
            <width>250</width>
            <align>left</align>
            <aligny>top</aligny>
            <font>Small</font>
            <textcolor>White</textcolor>
        </control>
Nvidia Shield 2019 Pro, Nvidia Shield 2015
Assuming you have a font height of 40 in your example, and posy 100, alligny top.

Yes it's font related, the font size 40:2=20. Your allignment is top...
so posy 100 + 40 - 20 = 120 ...

If i'm wrong feel free to correct me Smile



I forgot to add the font.xml info:

Code:
    <font>
            <name>Large</name>
            <filename>Arial.ttf</filename>
            <size>48</size>
        </font>

For the second question i use also:

Code:
    <font>
            <name>Small</name>
            <filename>Arial.ttf</filename>
            <size>30</size>
        </font>

Edit:
If i change the font, leave everything else untouched it is about 109
Nvidia Shield 2019 Pro, Nvidia Shield 2015
Anyone who can explain the above?
Nvidia Shield 2019 Pro, Nvidia Shield 2015
(2012-11-11, 20:05)Baswazz Wrote: Anyone who can explain the above?

Bas, open up a new thread in skin developement. This is not related to Foundation so you have much better chance in getting your answer in dev thread.

That said try to use different fonts to see if it is font related or not. If it is happening with other fonts as well it will probably get fixed as bug. Devs are reading skin developement thread.
My skins:

Amber
Quartz

If you were using a version where I'd screwed up the alignment that would be part of it. Try tonights nightly.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Hi Hitcher,
first of all, thank you for the Foundation skin - it has made it easier for me to get into skin development.

I have been in the process of creating a skin for a while now, but now that Frodo is coming out, I am worried as to how to make it fully compatible... I have seen the sticky "changes to the skinning engine" obviously, but am still unsure as to how to proceed....the new InfoLabels and the rest is fine, its the removal and addition of new default pages and controls that worry me..

Do you have any suggestions on the best way to change everything?
Are you planning on updating Foundation for Frodo?
  • 1
  • 6
  • 7
  • 8(current)
  • 9
  • 10
  • 16

Logout Mark Read Team Forum Stats Members Help
Skinning for beginners - Foundation skin, skinning tools, and tips10