Hi,
kann ich mir eigentlich auch ein Layout in der skin_Nuke.Evo.user.xml erstellen und dann dort aufrufen oder muß das Layout zwingend in die skin.xml?
Um schreiben oder kommentieren zu können, benötigen Sie ein Benutzerkonto.
Anmelden - oder - Benutzerkonto erstellenHi,
kann ich mir eigentlich auch ein Layout in der skin_Nuke.Evo.user.xml erstellen und dann dort aufrufen oder muß das Layout zwingend in die skin.xml?
Bin jetzt nicht daheim.
Ich meine aber gelesen zu haben, daß man auch auf einen Pfad verweisen kann.
Sinn machen layouts aber nur, wenn sie mehrmals eingesetzt werden.
Aber in einer skin user?
Für Farbtasten wäre eine Ergänzung super
<widget name="key_red" layout="bottom_red">
<widget source="key_red" ... layout bottom red
Hello all ! And you can implement in the skin, what would the widgets Layout is stretched with an external file? for example layuots.xml, and in the skin to make an access to a file, something like this
P.S. it is very convenient and in skins to images Open* this has long been done and works well
I already implemented the external filename usage:
Example:
epg_buttons.xml:
By using external xml files, MerlinSkinThemes isn't able to replace anything. That's the reason I'm not using it.
I also can't output from an external file as advised Dr.Best
I tried different options, nothing is displayed in the menu, no buttons or Menus
here is one of the options
<layouts>
<!-- Layout Menu-->
<layout name="Menu_w_main" filename="skin_name/menu_layouts.xml" />
<layout name="Menu_menu" filename="skin_name/menu_layouts.xml" />
<layout name="Menu_ext" filename="skin_name/menu_layouts.xml" />
<!-- Layout Buttons -->
<layout name="Buttons_s_key_y" filename="skin_name/menu_layouts.xml" />
<layout name="Buttons_s_key_g" filename="skin_name/menu_layouts.xml" />
<layout name="Buttons_s_key_gy" filename="skin_name/menu_layouts.xml" />
</layouts>
and here
<layouts>
<Layout filename="skin_name/menu_layouts.xml" />
</layouts>
<include filename="skin_name/menu_layouts.xml" / >
in skin spelled out so
<screen name="NotificationQueueViewer" position="0,0" size="1280,720" title="Notification Queue Viewer" >
<layout name="Menu_w_main" />
<layout name="Buttons_s_key2" />
in menu_layout.xml
<skin>
<layout name="Menu_w_main">
<ePixmap pixmap="skin_name/main_menu/w_main.png" position="80,0" size="1120,720" transparent="0" zPosition="-2" />
<widget source="Title" render="Label" position="110,38" size="740,35" font="Regular; 30" halign="center" backgroundColor="background" foregroundColor="title" transparent="1" />
<widget source="global.CurrentTime" render="Label" position="920,40" size="250,30" font="Regular; 20" backgroundColor="background" halign="right" transparent="1" valign="center" noWrap="1" foregroundColor="clock">
<convert type="ClockToText">Format: %a, %d.%m.%Y %H:%M:%S</convert>
</widget>
</layout>
<layout name="Menu_menu">
<ePixmap pixmap="skin_name/main_menu/menu.png" position="205,0" size="850,720" transparent="0" zPosition="-2" />
<widget source="Title" render="Label" position="225,37" size="500,35" font="Regular; 30" backgroundColor="background" foregroundColor="title" valign="center" halign="center" transparent="1" />
<widget source="global.CurrentTime" render="Label" position="785,45" size="240,24" font="Regular; 22" backgroundColor="background" halign="right" transparent="1" valign="center" noWrap="1" foregroundColor="clock">
<convert type="ClockToText">Format: %a, %d.%m.%Y %H:%M:%S</convert>
</widget>
</layout>
...........
<skin>
P.S. works only if all Layouts are entered skin.xml
It works!
Screen:
skin.xml section <layouts>:
You have to use ONLY in section layouts the filename attrib AND in the screen ONLY the name attrib
And you can add all layout to 1 file? for example main_layout.xml
or do you need to create your own file for each Layout?
for example menu_layouts.xml, buttons_layout.xml
The layout tag in screen tag was replaced with the content of a layout.xml file.
If you have differnt layouts you need different layout files.
Ok thanks !!! It's bad that you can not enter all Layouts in 1 file .xml
under every Layout to make a separate .xml file inconveniently
Sorry
It works flawlessly, also with MST2.6.2 .... I'm excited.
Yes it works on the MST 6.1, except that a very many of Layout files*.xml
Which totally make sense.
Of course it makes sense. External files = modular. Those who prefer the monolithic variant, just uses layouts within the skin.xml
It is a pity that they can not be combined into 1 file
Shall we now start as well repeating what we said before? If you want one file then do what dreamer-flt wrote...
you can't merge all the Layouts so that they were in single file , not several, about it wrote above
P.S. you do not see many screenshot files .xml ? Fragen zu Layout Erstellung
but you CAN put all layouts in the skin.xml and re-use them. That's the same like putting them all in one file and link it. but if the feature does not meet your need just don't use it
The concept is ONE part of <screen> in ONE external file. Use it or use it not