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.
Geplaatst op 19 oktober 2013 - 06:53
Geplaatst op 19 oktober 2013 - 15:58
Geplaatst op 19 oktober 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...
Geplaatst op 20 oktober 2013 - 10:10
Veranderd door athoik, 20 oktober 2013 - 10:12
Geplaatst op 20 oktober 2013 - 10:39
Geplaatst op 20 oktober 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.
Geplaatst op 20 oktober 2013 - 11:38
yes already found the problem. Just commited the fix.
Other list may suffer from the same problem, who knows...
Geplaatst op 20 oktober 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?
Veranderd door athoik, 20 oktober 2013 - 11:41
0 leden, 1 bezoekers, 0 anonieme gebruikers