InputDeviceSetup has a hardcodec lenght of 400. This causes issues with some translations (eg the Greek one), letters are not shown even though there is enouph space.
Changing length to 600 solves the above issue.
Posted 19 October 2013 - 06:53
Posted 19 October 2013 - 15:58
Posted 19 October 2013 - 23:04
I guess this is not a problem in the with of the box. When a box has certain width and you start at xpos = 120 in the box, there is only width-xpos space left in the box. So if you xpos=120 and you use width-40 to draw text you basically write outside the box.
The the greek (and probably other languages) width issue may be in the font renderer...
Posted 20 October 2013 - 10:10
Edited by athoik, 20 October 2013 - 10:12.
Posted 20 October 2013 - 10:39
Posted 20 October 2013 - 11:29
print "PluginEntryComponent width:" + str(width)And this is what i get when i am opening the list:
PluginEntryComponent width:440 ... PluginEntryComponent width:440 PluginEntryComponent width:440So probably we are not passing 630, but the default 440 used.
Posted 20 October 2013 - 11:40
$ find -type f -name "*.py" | xargs fgrep PluginEntryComponent ./lib/python/Components/PluginList.py:def PluginEntryComponent(plugin, width=440): ./lib/python/Screens/PluginBrowser.py: self.list = [PluginEntryComponent(plugin) for plugin in self.pluginlist]So what you suggest to do? Change PluginBrowser or Change PluginEntryComponent?
Edited by athoik, 20 October 2013 - 11:41.
0 members, 1 guests, 0 anonymous users