Codename One - Modify a font size in a theme like in an hashtable

后端 未结 1 912
无人及你
无人及你 2021-01-16 14:48

In the previous question Codename One - Method to enlarge or reduce all the fonts in all the styles I replied with a method that iterates all the values of a theme and, if a

相关标签:
1条回答
  • 2021-01-16 14:53

    The error was the line:

        Hashtable hashtable = theme.getTheme("Theme");
    

    The correct code is without the double quotes:

        Hashtable hashtable = theme.getTheme(Theme);
    

    That's all :)

    0 讨论(0)
提交回复
热议问题