elGringo Posted November 24, 2016 Posted November 24, 2016 i need to center it from runtime, in some moment form become not in center, so I want to fix it I usually do that like this Self.Top:=Trunc(Self.Parent.Height/2-Self.Height/2); How to do that in UniGUI? Quote
elGringo Posted November 24, 2016 Author Posted November 24, 2016 Thnks, but maybe i didnt ask correct i need to center it from runtime, in some moment form become not in center, so I want to fix it Quote
elGringo Posted November 25, 2016 Author Posted November 25, 2016 I know that it could be done on ExtJS but in UniGUI that also must be a way, i need to center it relatively to a screen of browser Quote
Abaksoft Posted November 26, 2016 Posted November 26, 2016 Hello ElGringo, If i understand use : Anchor property (all by défaut). http://forums.unigui.com/index.php?/topic/5222-centered-panels-once-again/&do=findComment&comment=26802 http://forums.unigui.com/index.php?/topic/5573-form-in-upper-right-corner/&do=findComment&comment=28499 You can do a search on forum with :Anchor as key word. 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.