Is this in the python or C++ Code?
Progressbar Channel Selection
Re: Progressbar Channel Selection #2
Posted 10 July 2012 - 13:53
But why do you need to change it? Because DMM did put it on the left after we had it for a longer time and you're used to it....?
When we want to make this (e.g. configurable) a setting is required and therefore we need an extra setting, which we should also avoid.... But it can indeed be tried to make it configurable in the same setting... (off or no progressbar, left, right).... Let me think about this.... (config.usage.show_event_progress_in_servicelist now yes no, default = yes could be changed in no, left, right, default right)
Edited by littlesat, 10 July 2012 - 14:03.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Re: Progressbar Channel Selection #3
Posted 10 July 2012 - 14:10
236 def setMode(self, mode): 237 self.mode = mode 238 self.l.setItemHeight(self.ItemHeight) 239 self.l.setVisualMode(eListboxServiceContent.visModeComplex) 240 if mode == self.MODE_NORMAL or not config.usage.show_channel_numbers_in_servicelist.value: 241 channelNumberWidth = 0 242 channelNumberSpace = 0 243 else: 244 channelNumberWidth = 50 245 channelNumberSpace = 10 246 247 if config.usage.show_event_progress_in_servicelist.value: 248 self.l.setElementPosition(self.l.celServiceEventProgressbar, eRect(channelNumberWidth+channelNumberSpace, 0, 52, self.ItemHeight)) 249 else: 250 self.l.setElementPosition(self.l.celServiceEventProgressbar, eRect(channelNumberWidth+channelNumberSpace, 0, 0, 0)) 251 self.l.setElementFont(self.l.celServiceName, self.ServiceNameFont) 252 self.l.setElementFont(self.l.celServiceNumber, self.ServiceNumberFont) 253 self.l.setElementPosition(self.l.celServiceNumber, eRect(0, 0, channelNumberWidth, self.ItemHeight)) 254 self.l.setElementPosition(self.l.celServiceName, eRect(channelNumberWidth+channelNumberSpace, 0, self.instance.size().width() - (channelNumberWidth+channelNumberSpace), self.ItemHeight)) 255 self.l.setElementFont(self.l.celServiceInfo, self.ServiceInfoFont)
Edited by littlesat, 10 July 2012 - 14:10.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Re: Progressbar Channel Selection #4
Re: Progressbar Channel Selection #5
Posted 10 July 2012 - 14:47
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Re: Progressbar Channel Selection #6
Re: Progressbar Channel Selection #7
Re: Progressbar Channel Selection #8
Posted 10 July 2012 - 17:42
http://openpli.org/f...post__p__265535
I still don´t get the point why this approved patch is not integrated in openpli - only disadvantage for user who prefer progress bar on right side is two additional menuentries ...
Re: Progressbar Channel Selection #9
Re: Progressbar Channel Selection #10
Posted 11 July 2012 - 09:02
In a skin you can relocate/resize stuff by putting additional python code in a skin... see what is e.g. done in the message boxes (and in more places).A skin cannot overrule this: the list is just one widget, calling 'list'
Edited by littlesat, 11 July 2012 - 09:04.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Re: Progressbar Channel Selection #11
Re: Progressbar Channel Selection #12
Posted 12 July 2012 - 15:02
http://openpli.git.s...1449d6a;hb=HEAD
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Re: Progressbar Channel Selection #13
Posted 12 July 2012 - 16:48
Re: Progressbar Channel Selection #14
Re: Progressbar Channel Selection #15
Re: Progressbar Channel Selection #16
Posted 12 July 2012 - 21:06
Re: Progressbar Channel Selection #17
Re: Progressbar Channel Selection #18
Posted 12 July 2012 - 22:10
This could indeed be the fact.... I suggest I need some more finetuning...seems as text width is reduced with progressbar's width once more
What should be adjusted 5 pixels... I do not understand this fully?
Edited by littlesat, 12 July 2012 - 22:11.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Re: Progressbar Channel Selection #19
Re: Progressbar Channel Selection #20
Posted 12 July 2012 - 23:19
What should be adjusted 5 pixels... I do not understand this fully?
red - text ending in same position as select bar. May be, would be better ending text several pixels before selectbar ( or on character - dont know, if in e2 is function for cut text on character ), same, as text on begin is some pixels left
green - better would be ending on last character
Attached Files
3 user(s) are reading this topic
0 members, 3 guests, 0 anonymous users