Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Commit

Permalink
🎨 Show layout preview for combined widget stack
Browse files Browse the repository at this point in the history
  • Loading branch information
jurialmunkey committed Oct 17, 2023
1 parent eeee331 commit 05ea425
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
28 changes: 28 additions & 0 deletions 1080i/Custom_1115_Dialog_WideSettings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@
</control>
<control type="group">
<top>440</top>
<visible>!Skin.HasSetting(Hubs.WidgetSelector)</visible>
<include content="Info_Viewline">
<param name="sort_condition">true</param>
<param name="label">Widgets</param>
Expand All @@ -326,6 +327,33 @@
</control>
</control>
</control>
<include content="List_ButtonMenu_Row">
<param name="id">302</param>
<param name="font">font_mini</param>
<param name="color_fo">main_fg_30</param>
<param name="color_nf">main_fg_30</param>
<param name="itemlayout_w">view_button_item_w</param>
<param name="offset_x">view_button_offset_x</param>
<param name="control">list</param>
<param name="backing">true</param>
<left>160</left>
<right>240</right>
<height>selectorwidget_h</height>
<top>920</top>
<onfocus>SetFocus(6000)</onfocus>
<visible>Skin.HasSetting(Hubs.WidgetSelector)</visible>
<hitrect x="0" y="0" w="0" h="0" />
<content>
<item><label>$LOCALIZE[31366]</label></item>
<item><label>$LOCALIZE[31366]</label></item>
<item><label>$LOCALIZE[31366]</label></item>
<item><label>$LOCALIZE[31366]</label></item>
<item><label>$LOCALIZE[31366]</label></item>
<item><label>$LOCALIZE[31366]</label></item>
<item><label>$LOCALIZE[31366]</label></item>
<item><label>$LOCALIZE[31366]</label></item>
</content>
</include>
</control>

<!-- Header -->
Expand Down
2 changes: 1 addition & 1 deletion 1080i/Includes_Expressions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

<expression name="Exp_SkinShortcuts_IsAdaptiveWidget">[[$EXP[Exp_SkinShortcuts_IsSubmenuItem] + !String.IsEmpty(Container(211).ListItem.Property(useWidgetList))] | [$EXP[Exp_SkinShortcuts_IsSubmenuList] + String.IsEmpty(Container(211).ListItem.Property(useWidgetList))]]</expression>

<expression name="Exp_WideSettings_IsWidgets">[[Skin.HasSetting(Hub.Home.DisableSubmenu) + String.IsEqual(Window(Home).Property(CustomDialogSettingsItems),Items_Settings_HomeMenu)] | String.IsEqual(Window(Home).Property(CustomDialogSettingsItems),Items_Settings_SearchMenu) | [String.IsEqual(Window(Home).Property(CustomDialogSettingsItems),Items_Settings_SideMenu_1) + [!$EXP[Exp_WideSettings_Item01_IsHub] | !$EXP[Exp_WideSettings_Item01_IsExpanded]]] | [String.IsEqual(Window(Home).Property(CustomDialogSettingsItems),Items_Settings_SideMenu_2) + [!$EXP[Exp_WideSettings_Item02_IsHub] | !$EXP[Exp_WideSettings_Item02_IsExpanded]]] | [String.IsEqual(Window(Home).Property(CustomDialogSettingsItems),Items_Settings_SideMenu_3) + [!$EXP[Exp_WideSettings_Item03_IsHub] | !$EXP[Exp_WideSettings_Item03_IsExpanded]]] | [String.IsEqual(Window(Home).Property(CustomDialogSettingsItems),Items_Settings_SideMenu_4) + [!$EXP[Exp_WideSettings_Item04_IsHub] | !$EXP[Exp_WideSettings_Item04_IsExpanded]]]]</expression>
<expression name="Exp_WideSettings_IsWidgets">[[[Skin.HasSetting(Hub.Home.DisableSubmenu) + String.IsEqual(Window(Home).Property(CustomDialogSettingsItems),Items_Settings_HomeMenu)] | String.IsEqual(Window(Home).Property(CustomDialogSettingsItems),Items_Settings_SearchMenu) | [String.IsEqual(Window(Home).Property(CustomDialogSettingsItems),Items_Settings_SideMenu_1) + [!$EXP[Exp_WideSettings_Item01_IsHub] | !$EXP[Exp_WideSettings_Item01_IsExpanded]]] | [String.IsEqual(Window(Home).Property(CustomDialogSettingsItems),Items_Settings_SideMenu_2) + [!$EXP[Exp_WideSettings_Item02_IsHub] | !$EXP[Exp_WideSettings_Item02_IsExpanded]]] | [String.IsEqual(Window(Home).Property(CustomDialogSettingsItems),Items_Settings_SideMenu_3) + [!$EXP[Exp_WideSettings_Item03_IsHub] | !$EXP[Exp_WideSettings_Item03_IsExpanded]]] | [String.IsEqual(Window(Home).Property(CustomDialogSettingsItems),Items_Settings_SideMenu_4) + [!$EXP[Exp_WideSettings_Item04_IsHub] | !$EXP[Exp_WideSettings_Item04_IsExpanded]]]] | Skin.HasSetting(Hubs.WidgetSelector)]</expression>
<expression name="Exp_WideSettings_IsExpanded">[!$EXP[Exp_WideSettings_IsWidgets]]</expression>

<expression name="Exp_WideSettings_Item01_IsHub">[[Skin.String(CustomShortcut.Item01,movies) + String.IsEmpty(Skin.String(CustomShortcut.Movies))] | [Skin.String(CustomShortcut.Item01,tvshows) + String.IsEmpty(Skin.String(CustomShortcut.TVShows))] | [Skin.String(CustomShortcut.Item01,music) + String.IsEmpty(Skin.String(CustomShortcut.Music))] | [Skin.String(CustomShortcut.Item01,livetv) + String.IsEmpty(Skin.String(CustomShortcut.PVR))] | [Skin.String(CustomShortcut.Item01,custom) + [Skin.String(CustomShortcut.Custom01,ActivateWindow(1106))] | [Skin.String(CustomShortcut.Custom01,ActivateWindow(1107))] | [Skin.String(CustomShortcut.Custom01,ActivateWindow(1108))] | [Skin.String(CustomShortcut.Custom01,ActivateWindow(1109))]]]</expression>
Expand Down

0 comments on commit 05ea425

Please sign in to comment.