likemike Posted March 16, 2021 Share Posted March 16, 2021 Hello! I have exactly this problem but with UnimMemo instead of UniMemo. In UnimMemo there is no "afterrender" event. So how can I solve this in the mobile component? Regards Mike Link to comment Share on other sites More sharing options...
Sherzod Posted March 16, 2021 Share Posted March 16, 2021 30 minutes ago, likemike said: "afterrender" Hello, Try "painted" instead. Link to comment Share on other sites More sharing options...
likemike Posted March 17, 2021 Author Share Posted March 17, 2021 Sorry, but the command is ignored completely (tried different pixel values) : Quote function painted(sender, eOpts) { sender.inputEl.setStyle('line-height', '225px'); } Link to comment Share on other sites More sharing options...
Sherzod Posted March 17, 2021 Share Posted March 17, 2021 3 minutes ago, likemike said: Sorry, but the command is ignored completely (tried different pixel values) : Try this: function painted(sender, eOpts) { var me = sender.inputElement; me.setStyle('line-height', me.getStyle('font-size')); } Link to comment Share on other sites More sharing options...
likemike Posted March 17, 2021 Author Share Posted March 17, 2021 Perfect! Link to comment Share on other sites More sharing options...
likemike Posted March 17, 2021 Author Share Posted March 17, 2021 Hello! The problem with overlapping lines in UnimMemo is solved, but I get a similar issue with other components e.g. UnimButtons. Even if I create a UnimButton with a height of 200 px, the caption with a big font (here: font=Tahoma bold size 22) is only shown half (the bottom part is cut off). If it's again an issue with the extEvents I would like to know where I can get informations to solve such problems in future by myself. Regards Mike Link to comment Share on other sites More sharing options...
Sherzod Posted March 19, 2021 Share Posted March 19, 2021 On 3/18/2021 at 12:28 AM, likemike said: UnimButtons Hello, This post may help you: Link to comment Share on other sites More sharing options...
likemike Posted March 19, 2021 Author Share Posted March 19, 2021 That works! Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts