Kast2k Posted December 11, 2017 Share Posted December 11, 2017 Good day, dear colleagues! I am developing an information screen for usage on screens with different resolution F.e. there is a TUniPanel on the main form with some text. During onResize of form program is calculating Unipanel width and height and max font size. But after form show i see that UniPanel text was moved to the bottom. Screenshot attached https://ibb.co/kooPhw How can i fix this error(bug?) ? Of course i can use UniLabels for data show and calculate their sizes and place on UniPanel center but i want to use TUniPanel caption property. Thank You. P.S. I'm sorry for topic dublicate in russian (http://forums.unigui.com/index.php?/topic/9664-%D0%B8%D0%B7%D0%BC%D0%B5%D0%BD%D0%B5%D0%BD%D0%B8%D0%B5-%D1%80%D0%B0%D0%B7%D0%BC%D0%B5%D1%80%D0%B0-%D1%88%D1%80%D0%B8%D1%84%D1%82%D0%B0-%D0%BF%D0%B0%D0%BD%D0%B5%D0%BB%D0%B8-onresize/) Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 11, 2017 Share Posted December 11, 2017 Hi, Which edition and build are you using ?! Quote Link to comment Share on other sites More sharing options...
Kast2k Posted December 11, 2017 Author Share Posted December 11, 2017 1.0.0.1412 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 11, 2017 Share Posted December 11, 2017 Trial edition ?! Quote Link to comment Share on other sites More sharing options...
Kast2k Posted December 11, 2017 Author Share Posted December 11, 2017 Full licensed Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 11, 2017 Share Posted December 11, 2017 First of all, please visit here: http://forums.unigui.com/index.php?/topic/6291-new-users-please-adjust-your-forum-email-address/ Quote Link to comment Share on other sites More sharing options...
Kast2k Posted December 11, 2017 Author Share Posted December 11, 2017 email added Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 11, 2017 Share Posted December 11, 2017 Thank you, Can you make a simple testcase for this ?! Quote Link to comment Share on other sites More sharing options...
Kast2k Posted December 11, 2017 Author Share Posted December 11, 2017 Test project added Test_PanelResizeFont.zip Quote Link to comment Share on other sites More sharing options...
Kast2k Posted December 13, 2017 Author Share Posted December 13, 2017 Any ideas? 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.