reformat metadata in detailed,video view

This commit is contained in:
Sophia Hadash 2021-09-25 02:23:28 +02:00
parent 63467455c1
commit 8bc24cf2fc
2 changed files with 152 additions and 75 deletions

View file

@ -65,7 +65,7 @@ based on: Switch Theme for Launchbox by Grila
<unfilledPath>./../assets/light/unfilled_rating.svg</unfilledPath>
</rating>
<text name="md_lbl_releasedate, md_lbl_developer, md_lbl_genre, md_lbl_players, md_lbl_lastplayed, md_lbl_playcount, md_developer, md_genre, md_players, md_playcount, md_releasedate, md_description">
<text name="md_lbl_releasedate, md_lbl_developer, md_lbl_publisher, md_lbl_genre, md_lbl_players, md_lbl_lastplayed, md_lbl_playcount, md_developer, md_publisher, md_genre, md_players, md_playcount, md_releasedate, md_description">
<color>${secondaryColor}</color>
</text>
@ -88,7 +88,7 @@ based on: Switch Theme for Launchbox by Grila
</textlist>
</view>
<view name="grid">
<view name="detailed, video, grid">
<image name="md_background" extra="true">
<color>${backgroundColor2}</color>
</image>

View file

@ -104,7 +104,124 @@ based on: Switch Theme by Lilbud
<size>0.938 0.001</size>
<path>./assets/box.png</path>
</image>
<text name="md_lbl_releasedate, md_lbl_developer, md_lbl_genre, md_lbl_players, md_lbl_lastplayed, md_lbl_playcount, md_developer, md_genre, md_players, md_playcount, md_releasedate, md_description" extra="true">
</view>
<view name="detailed, video">
<textlist name="gamelist">
<pos>0.04 0.182</pos>
<size>0.31 0.682</size>
<alignment>left</alignment>
<selectorImagePath>./assets/selector.png</selectorImagePath>
<selectorHeight>0.06</selectorHeight>
<selectorOffsetY>-0.008</selectorOffsetY>
</textlist>
<!-- metadata panel (right) -->
<image name="md_background" extra="true">
<pos>0.675 0.20</pos>
<tile>false</tile>
<origin>0 0</origin>
<size>0.325 0.63</size>
<path>./assets/box.png</path>
</image>
<image name="md_background_grad_top" extra="true">
<pos>0.675 0.131</pos>
<tile>false</tile>
<origin>0 0</origin>
<size>0.325 0.07</size>
<rotation>180</rotation>
<path>./assets/light/gradient.png</path>
</image>
<image name="md_background_grad_bottom" extra="true">
<pos>0.675 0.83</pos>
<tile>false</tile>
<origin>0 0</origin>
<size>0.325 0.07</size>
<path>./assets/light/gradient.png</path>
</image>
<text name="md_description">
<forceUppercase>0</forceUppercase>
<lineSpacing>1.2</lineSpacing>
<pos>0.70 0.21</pos>
<size>0.269 0.275</size>
<fontSize>0.03</fontSize>
</text>
<text name="md_lbl_publisher">
<pos>0.70 0.532</pos>
<size>0.13125 0.02</size>
<fontSize>0.02</fontSize>
</text>
<text name="md_publisher">
<pos>0.70 0.552</pos>
<size>0.13125 0.03</size>
<fontSize>0.03</fontSize>
</text>
<text name="md_lbl_developer">
<pos>0.8453 0.532</pos>
<size>0.13125 0.02</size>
<fontSize>0.02</fontSize>
</text>
<text name="md_developer">
<pos>0.8453 0.552</pos>
<size>0.13125 0.03</size>
<fontSize>0.03</fontSize>
</text>
<text name="md_lbl_releasedate">
<pos>0.70 0.608</pos>
<size>0.13125 0.02</size>
<fontSize>0.02</fontSize>
</text>
<datetime name="md_releasedate">
<pos>0.70 0.628</pos>
<size>0.13125 0.03</size>
<fontSize>0.03</fontSize>
</datetime>
<text name="md_lbl_players">
<pos>0.8453 0.608</pos>
<size>0.13125 0.02</size>
<fontSize>0.02</fontSize>
</text>
<text name="md_players">
<pos>0.8453 0.628</pos>
<size>0.13125 0.03</size>
<fontSize>0.03</fontSize>
</text>
<text name="md_lbl_genre">
<pos>0.70 0.684</pos>
<size>0.13125 0.02</size>
<fontSize>0.02</fontSize>
</text>
<text name="md_genre">
<pos>0.70 0.704</pos>
<size>0.13125 0.03</size>
<fontSize>0.03</fontSize>
</text>
<text name="md_lbl_rating">
<pos>0.70 0.760</pos>
<size>0.13125 0.02</size>
<fontSize>0.02</fontSize>
</text>
<rating name="md_rating">
<pos>0.70 0.785</pos>
<size>0.04 0.03</size>
</rating>
<text name="md_lbl_lastplayed, md_lbl_playcount">
<pos>1 1</pos>
</text>
<datetime name="md_lastplayed, md_playcount">
<pos>1 1</pos>
</datetime>
</view>
<view name="basic">
<textlist name="gamelist">
<pos>0.04 0.182</pos>
<size>0.924 0.682</size>
<alignment>center</alignment>
</textlist>
<text name="md_lbl_releasedate, md_lbl_developer, md_lbl_genre, md_lbl_players, md_lbl_lastplayed, md_lbl_playcount, md_developer, md_genre, md_players, md_playcount, md_releasedate, md_description"
extra="true">
<forceUppercase>0</forceUppercase>
<fontSize>0.028</fontSize>
<fontPath>${mainFont}</fontPath>
@ -119,40 +236,6 @@ based on: Switch Theme by Lilbud
</text>
</view>
<view name="detailed, video">
<textlist name="gamelist">
<pos>0.04 0.182</pos>
<size>0.31 0.682</size>
<alignment>left</alignment>
<selectorImagePath>./assets/selector.png</selectorImagePath>
<selectorHeight>0.06</selectorHeight>
<selectorOffsetY>-0.008</selectorOffsetY>
</textlist>
<text name="md_description">
<forceUppercase>0</forceUppercase>
<fontSize>0.025</fontSize>
<size>0.309 0.336</size>
<pos>0.657 0.387</pos>
</text>
<rating name="md_rating">
<pos>0.657 0.747</pos>
<size>0.27 0</size>
</rating>
<image name="md_broken">
<pos>0.966 0.240</pos>
<maxSize>0.05 0.05</maxSize>
<origin>1 1</origin>
</image>
</view>
<view name="basic">
<textlist name="gamelist">
<pos>0.04 0.182</pos>
<size>0.924 0.682</size>
<alignment>center</alignment>
</textlist>
</view>
<view name="detailed">
<image name="md_image">
<pos>0.360 0.180</pos>
@ -161,6 +244,22 @@ based on: Switch Theme by Lilbud
</image>
</view>
<view name="video">
<image name="md_marquee">
<origin>0.5 0.5</origin>
<pos>0.494 0.68</pos>
<maxSize>0.268 0.228</maxSize>
</image>
<video name="md_video">
<pos>0.494 0.358</pos>
<maxSize>0.268 0.367</maxSize>
<origin>0.5 0.5</origin>
<delay>1.5</delay>
<showSnapshotNoVideo>true</showSnapshotNoVideo>
<showSnapshotDelay>true</showSnapshotDelay>
</video>
</view>
<view name="grid">
<text name="system_name_1" extra="true">
<text>${system.fullName}</text>
@ -292,7 +391,7 @@ based on: Switch Theme by Lilbud
<fontSize>0.02</fontSize>
</text>
<rating name="md_rating">
<pos>0.75 0.780</pos>
<pos>0.75 0.785</pos>
<size>0.04 0.03</size>
</rating>
<text name="md_lbl_lastplayed, md_lbl_playcount">
@ -304,48 +403,26 @@ based on: Switch Theme by Lilbud
</view>
<feature supported="carousel">
<view name="system">
<carousel name="systemcarousel">
<type>horizontal</type>
<pos>0 0.3</pos>
<size>1 .4</size>
<color>00000000</color>
<logoScale>1</logoScale>
<logoSize>0.234 0.397</logoSize>
<maxLogoCount>3.5</maxLogoCount>
</carousel>
<logoScale>1</logoScale>
<logoSize>0.234 0.397</logoSize>
<maxLogoCount>3.5</maxLogoCount>
</carousel>
<text name="systemInfo">
<backgroundColor>dddddd00</backgroundColor>
<forceUppercase>0</forceUppercase>
<fontSize>0.03</fontSize>
<pos>0.5 0.75</pos>
<origin>0.5 0.5</origin>
<forceUppercase>0</forceUppercase>
<fontPath>${mainFont}</fontPath>
</text>
</view>
</feature>
<view name="video">
<image name="md_marquee">
<origin>0.5 0.5</origin>
<pos>0.494 0.68</pos>
<maxSize>0.268 0.228</maxSize>
</image>
<video name="md_video">
<pos>0.494 0.358</pos>
<maxSize>0.268 0.367</maxSize>
<origin>0.5 0.5</origin>
<delay>1.5</delay>
<showSnapshotNoVideo>true</showSnapshotNoVideo>
<showSnapshotDelay>true</showSnapshotDelay>
</video>
</view>
<text name="systemInfo">
<backgroundColor>dddddd00</backgroundColor>
<forceUppercase>0</forceUppercase>
<fontSize>0.03</fontSize>
<pos>0.5 0.75</pos>
<origin>0.5 0.5</origin>
<forceUppercase>0</forceUppercase>
<fontPath>${mainFont}</fontPath>
</text>
</view>
</feature>
</theme>