Button() and Label(), PLi opinion.
Re: Button() and Label(), PLi opinion. #141
Re: Button() and Label(), PLi opinion. #142
Re: Button() and Label(), PLi opinion. #143
Posted 20 January 2018 - 09:16
Edited by littlesat, 20 January 2018 - 09:32.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Re: Button() and Label(), PLi opinion. #144
Posted 20 January 2018 - 10:52
My personal opinion is if it is python and you are in control of it it should be updated. Then people need to update their skins. But that is not your problem.
If it is a plugin and you are not in control of it and it doesn't use the correct key names just delete it from your skin and let it use its own embedded skin.
Re: Button() and Label(), PLi opinion. #145
Posted 20 January 2018 - 11:26
I'm afraid this does not work...
https://github.com/O...99ac8ef3eddacc1
At least hear it doesn't correcty hide buttons.... (see FlashImage)
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Re: Button() and Label(), PLi opinion. #146
Posted 20 January 2018 - 11:49
That means that the condition to show has been fulfilled (and hence the coloured key does show) even if the key is not active in a specific situation (but will become active once the user changes a condition)..
Re: Button() and Label(), PLi opinion. #147
Posted 20 January 2018 - 11:59
Exactly that can be solved now when using StaticText instead of Label() or Button()... the the example in StreamingInfo.py, Hotkey.py, FlashImage.py and as it always was be in the Network setup...
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Re: Button() and Label(), PLi opinion. #148
Posted 20 January 2018 - 12:44
I think those hidden png's could be merged with your main template. I've thought of a way to do it. But right now you are going down the wrong route in the python file. Hard coding it like that is a bad mistake. More trouble in the future. Why don't people write reusable code so things can work automatically?
Re: Button() and Label(), PLi opinion. #149
Posted 20 January 2018 - 17:06
Edited by littlesat, 20 January 2018 - 17:15.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Re: Button() and Label(), PLi opinion. #150
Posted 20 January 2018 - 18:46
The reason I didn't want the "objecttypes" depending on the "conditional" is because I want to use them independently on 2 different objects, In my button panel "objecttypes" is used on the individual widgets, whereas the "conditional" is used on the whole panel.
Here is my fullscreen automatic button panel. So far it is completely stable with no noted secondary effects.
https://github.com/O...tes.xml#L12-L41
Re: Button() and Label(), PLi opinion. #151
Re: Button() and Label(), PLi opinion. #152
Posted 20 January 2018 - 21:15
Edited by littlesat, 20 January 2018 - 21:23.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Re: Button() and Label(), PLi opinion. #153
Re: Button() and Label(), PLi opinion. #154
Re: Button() and Label(), PLi opinion. #155
Posted 21 January 2018 - 04:54
And chamges are only required for a few items.Here Autohide works with the source statictext method...
Does VirtualKeyboard work fine this way in PLi?
I would suggest ViX to use the same (or at least compatible) method as PLi, as that makes merging much more easy.
Edited by Rob van der Does, 21 January 2018 - 04:55.
Re: Button() and Label(), PLi opinion. #156
Re: Button() and Label(), PLi opinion. #157
Posted 21 January 2018 - 08:26
Info key etc....)
Actually it is a pitty that skins and python are so much depended from eachother.
Edited by littlesat, 21 January 2018 - 08:28.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Re: Button() and Label(), PLi opinion. #158
Re: Button() and Label(), PLi opinion. #159
Posted 21 January 2018 - 11:33
It depends... when in python the same keys are used for the same thing it is fine... but the menu buttons are most time just there because the skin says it... so without code change this is not possible... (in python we need a menu,
Info key etc....)
IMHO if it's only the skin/screen 'demanding' for a (Menu/Info)button, the code should indeed be changed. And as this means effectively be 'enhanced' that would even be a good thing and hence worth the effort.
Edited by Rob van der Does, 21 January 2018 - 11:33.
Re: Button() and Label(), PLi opinion. #160
Posted 21 January 2018 - 12:35
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
12 user(s) are reading this topic
0 members, 12 guests, 0 anonymous users