Hi There,
How I change the font of this skin?
Thanks.
Posted 31 October 2016 - 10:41
4097_0_0_0_0_0_0_0_0_1.jpg 17.73KB 32 downloads Waar kan ik deze code vinden van dit waarschuwings-schermpje?
Posted 31 October 2016 - 11:06
that is in ChoiceBox , if it is not skinnable then have a look at ~python/Screens/ChoiceBox.py
in previous skins there was a python code included in the skin, now it moved to ChoiceBox.py, disadvantage, each time you make an update the ChoiceBox,py will be overwritten
Thanks.
Posted 31 October 2016 - 11:22
that is in ChoiceBox , if it is not skinnable then have a look at ~python/Screens/ChoiceBox.py
in previous skins there was a python code included in the skin, now it moved to ChoiceBox.py, disadvantage, each time you make an update the ChoiceBox,py will be overwritten
However, the dimensions are much greater than what is shown.
Edited by Loui (PD1LOI), 31 October 2016 - 11:23.
Posted 31 October 2016 - 11:31
Het is in messageboxsimple.
Je moet dan de waardes in het gedeelte wat staat onder <applet type="onLayoutFinish">...
Vu+DUO4K, (DVB-C FBC & DVB-S2X FBC twin tuner), OpenPLi Nightly Build, My-FullNightHD skin, Bluetooth remote,
2x Synology DS-116, 16 Gb USB3, Autotimer, Bitrate, EPG-Import, Ziggo Kabel-tv, Astra 28.2.
Posted 31 October 2016 - 11:34
<screen name="ChoiceBox" position="center,155" size="750,430" title="Input"> <widget name="text" position="20,10" size="710,66" font="Regular;24" /> <widget name="list" position="20,86" size="710,320" itemHeight="28" scrollbarMode="showOnDemand" /> <applet type="onLayoutFinish"> # this should be factored out into some helper code, but currently demonstrates applets. from enigma import eSize, ePoint orgwidth = self.instance.size().width() orgpos = self.instance.position() textsize = self["text"].getSize() # y size still must be fixed in font stuff... textsize = (textsize[0] + 80, textsize[1] + 80) count = len(self.list) if count > 10: count = 10 offset = 28 * count wsizex = textsize[0] + 80 wsizey = textsize[1] + offset + 20 if (710 > wsizex): wsizex = 710 wsize = (wsizex, wsizey) # resize self.instance.resize(eSize(*wsize)) # resize label self["text"].instance.resize(eSize(*textsize)) # move list listsize = (wsizex - 20, 28 * count) self["list"].instance.move(ePoint(10, textsize[1])) self["list"].instance.resize(eSize(*listsize)) # center window newwidth = wsize[0] self.instance.move(ePoint((1280-wsizex)/2, (720-wsizey)/(count > 7 and 2 or 3))) </applet> </screen>
try this code, I needed it for NeutrinoLikeHD, the ChoiceBox cannot be fixed size, it is rezising depends of how many choices, meu items .., the dimensions could be ok, wit wfnoBorder you can´t actually see the frame around it and the python code resize it "onLayoutFinish"
Posted 31 October 2016 - 13:15
Yep... OpenVix is such proud that they can replace the manufacturer setting... we don't.... and that means when (also with openspa, openatv) that you re stuck on that boot picture.
But you can search for the manufacturer picture and flash it like an image for "repair"....
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Posted 31 October 2016 - 22:19
Yep... OpenVix is such proud that they can replace the manufacturer setting...
Why do you keep saying that over and over again?
As I've told you several times before: OpenViX never replaces the manufacturers bootlogo, and even supplies the manufacturers logo in most image files so users can restore it when their box has lost it. And AFAIK ViX is the only image helping users in that way.
Edited by Rob van der Does, 31 October 2016 - 22:20.
Posted 31 October 2016 - 23:23
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Posted 1 November 2016 - 05:05
Doesn't make any difference how old the image was; ViX never touches the bootlogoThen I'm afraid vinsim installed probably an old openvix image....
Image-size isn't changed by adding the manufacturers bootlogo; it's only added to the image folder.I was not aware vix "spoiled" a big image size on restoring the manufacturers startup screen for those who touch it..
Exactly, and that's why ViX & PLi don't do that, unlike most other images.I thinj it is still anoying the manufacurers boot logo is touched...
Posted 1 November 2016 - 09:47
Just replaced my Openvix image with the nightly edition of Openpli 4. Still shows the Openvix logo on boot up then the Openpli image afterwards.
Then please clarify the above....?
But it seems you're always right...
B.t.w. the image "package" you download still has the bootlogo included.... But it seems we are reopening again a very painful with different meanings... The end effect is that ViX is still touching the manufacturer's picture by always overwriting it consequently..... Something that is totally not required at all when other images do not interfere with it... But still we cannot influence what other images do... Even when they voilating GPL licences... (CI+ topic)... But I'm afraid they even not aware about this...
Edited by littlesat, 1 November 2016 - 09:52.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Posted 1 November 2016 - 10:19
Het is in messageboxsimple.
Je moet dan de waardes in het gedeelte wat staat onder <applet type="onLayoutFinish">...
Dat was het wat ik zocht. 1_0_0_0_0_0_0_0_0_0.jpg 70.06KB 8 downloads Selectie balk aangepast aan de rest.
Edited by Loui (PD1LOI), 1 November 2016 - 10:22.
Posted 1 November 2016 - 11:11
# this should be factored out into some helper code, but currently demonstrates applets. from enigma import eSize, ePoint orgwidth = self.instance.size().width() orgpos = self.instance.position() textsize = self["text"].getSize() # y size still must be fixed in font stuff... textsize = (textsize[0] + 60, textsize[1] + 60) offset = 20 if self.type == self.TYPE_YESNO: offset = 110 wsizex = textsize[0] + 120 wsizey = textsize[1] + offset if (600 > wsizex): wsizex = 600 wsize = (wsizex, wsizey) # resize self.instance.resize(eSize(*wsize)) # resize label self["text"].instance.resize(eSize(*textsize)) # move list listsize = (wsizex - 20, 30 + offset) self["list"].instance.move(ePoint(10, textsize[1])) self["list"].instance.resize(eSize(*listsize)) # center window newwidth = wsize[0] self.instance.move(ePoint(orgpos.x() + (orgwidth - newwidth)/2, orgpos.y())) </applet> </screen>
was that messagebox, mostly is choicebox, when you press blue for extensions choicebox is shown, any time it needs user interaction
above is python code for messagebox, I spent hours on it, took parts from other skins, because indent (offset) was simply not working, with yes/no choice, sometimes is shown "yes and don´t ask again", actually we need three items there, it is now ok with above code
Posted 12 December 2016 - 17:07
<screen name="LanguageSelection" position="70,70" size="1140,580" title="Language selection"> <widget source="languages" render="Listbox" position="15,0" size="1110,580" enableWrapAround="1" scrollbarMode="showOnDemand"> <convert type="TemplatedMultiContent"> {"template": [ MultiContentEntryText(pos = (95, 12), size = (850, 28), flags = RT_HALIGN_LEFT, text = 1), # index 1 is the language name, MultiContentEntryPixmap(pos = (5, 9), size = (60, 40), png = 2), # index 2 is the pixmap ], "fonts": [gFont("Regular", 24)], "itemHeight": 58 } </convert> </widget> </screen>
that is LanguageSelection screen
Posted 12 December 2016 - 17:38
Wie weet waar deze code (zie foto geselecteerd) staat ik heb me rot gezocht maar niet kunnen vinden. hi
Ik wil namelijk de selectiebalk ook aanpassen net als de rest van de skin.
maar op een of ander manier lukt dat niet.
Denk het stukje rode tekst er achter plakken, natuurlijk wel met de verwijzing naar je eigen .png bestandje en locatie..
scrollbarMode="showOnDemand" selectionPixmap="PLi-HD/buttons/sel.png" >
Vu+DUO4K, (DVB-C FBC & DVB-S2X FBC twin tuner), OpenPLi Nightly Build, My-FullNightHD skin, Bluetooth remote,
2x Synology DS-116, 16 Gb USB3, Autotimer, Bitrate, EPG-Import, Ziggo Kabel-tv, Astra 28.2.
0 members, 0 guests, 0 anonymous users