shawdown Posted March 16, 2018 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
Sherzod Posted March 17, 2018 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
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.