Doock Posted February 12, 2020 Share Posted February 12, 2020 In the Previeew the buttons look ben pere at the time of showing it in the page the text is cut. I've already tried everything, Quote Link to comment Share on other sites More sharing options...
Sherzod Posted February 12, 2020 Share Posted February 12, 2020 procedure TMainForm.UniFormCreate(Sender: TObject); begin UniButton1.JSInterface.JSAddListener('afterrender', 'function(){this.btnInnerEl.setStyle("line-height", "normal")}'); end; Quote Link to comment Share on other sites More sharing options...
Doock Posted February 12, 2020 Author Share Posted February 12, 2020 Something similar happens to me in a string grid. I dou height and see it on the web does not apply Delphi: WEB: Quote Link to comment Share on other sites More sharing options...
Sherzod Posted February 12, 2020 Share Posted February 12, 2020 29 minutes ago, Doock said: in the page the text is cut Or try to use CustomCSS: .x-btn-inner { line-height: normal; } Quote Link to comment Share on other sites More sharing options...
newsanti Posted September 25, 2023 Share Posted September 25, 2023 On 2/12/2020 at 4:53 PM, Sherzod said: procedure TMainForm.UniFormCreate(Sender: TObject); begin UniButton1.JSInterface.JSAddListener('afterrender', 'function(){this.btnInnerEl.setStyle("line-height", "normal")}'); end; not work with TUnimButton. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 25, 2023 Share Posted September 25, 2023 16 minutes ago, newsanti said: not work with TUnimButton. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.