Jump to content

Changing UniPanel font size, caption position, OnResize main form


Kast2k

Recommended Posts

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/)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...