shawdown Posted March 16, 2018 Share Posted March 16, 2018 Hello friends. uniGUI Version 1.0.2.1442 Beta. How to align caption text left on a TUniSpeedButton? In the last stable version of unigui I just assigned the caption with html desired.But in the beta this does not work. UniSpeedButton1.Caption := '<div style="text-align: left;">Button Caption</div>'; Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 17, 2018 Share Posted March 17, 2018 Hi, uniGUI Version 1.0.2.1442 Beta. How to align caption text left on a TUniSpeedButton? In the last stable version of unigui I just assigned the caption with html desired.But in the beta this does not work. UniSpeedButton1.Caption := '<div style="text-align: left;">Button Caption</div>' One possible solution I think: UniSpeedButton -> ... function afterrender(sender, eOpts) { sender.btnInnerEl.setStyle('width', '100%'); } 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.