2020-05-22, 17:03
Maybe someone could help me with this:
I've got a list of widgets users can select from in my overrides.xml within
My skin offers four different types of widget layouts (size of the widget as well as size/aspect ratio of the individual widget icons) defined by
Any idea how I can pre-define the layout property for shortcuts within the
I've got a list of widgets users can select from in my overrides.xml within
<widget-groupings>
part of that file. Under each defined node there're a few widgets defined via shortcuts like this:xml:
<!-- Widget Grouping -->
<widget-groupings>
<!-- Video -->
<node label="3">
<node label="$LOCALIZE[31178]" condition="Library.HasContent(movies) | Library.HasContent(tvshows)">
<!-- Movies -->
<node label="$LOCALIZE[342]" condition="Library.HasContent(movies)">
<shortcut widget="NewMovies" label="$LOCALIZE[31179]" icon="DefaultRecentlyAddedMovies.png" widgetType="movies" widgetTarget="video">special://skin/extras/playlists/movies_recentlyadded.xsp</shortcut>
[...]
</node>
[...]
</node>
<content>video</content>
<node label="136">
<content>playlist-video</content>
</node>
<node label="32075">
<content>videosources</content>
<content>upnp-video</content>
</node>
</node>
[...]
</widget-groupings>
My skin offers four different types of widget layouts (size of the widget as well as size/aspect ratio of the individual widget icons) defined by
property="layout"
. For my widgetdefault
default properties I can set the layout by adding corresponding propertydefault
s with the same labelID
.Any idea how I can pre-define the layout property for shortcuts within the
widget-groupings
section?