bbm Posted June 3, 2020 Share Posted June 3, 2020 Hi, I use a UniContainerPanel with the fit layout. The components placed on it are arranged correctly, with the exception of the checkbox. Does anybody have a solution for that problem? Best regards Quote Link to comment Share on other sites More sharing options...
bbm Posted June 3, 2020 Author Share Posted June 3, 2020 Hi, sorry, but the Layout is column, not fit Best regards Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 4, 2020 Share Posted June 4, 2020 11 hours ago, bbm said: Does anybody have a solution for that problem? Hello, You assign a value to the FieldLabel property to other components, and for UniCheckBox you do not assign. Two options: 1. You must assign FieldLabel 2. Or use these configs: procedure TMainForm.UniFormCreate(Sender: TObject); begin with UniCheckBox1 do begin JSInterface.JSConfig('fieldLabel', [' ']); JSInterface.JSConfig('labelAlign', ['top']); JSInterface.JSConfig('labelSeparator', ['']); end; end; Quote Link to comment Share on other sites More sharing options...
bbm Posted June 4, 2020 Author Share Posted June 4, 2020 Hi, thank you very much, works fine Best regards Quote Link to comment Share on other sites More sharing options...
bbm Posted June 23, 2020 Author Share Posted June 23, 2020 Hi, I have the same problem with the UniButton now, but it seems not to be the same solution Is there anybody who has a solution? Thank you in advance Best regards Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 23, 2020 Share Posted June 23, 2020 10 minutes ago, bbm said: I have the same problem with the UniButton now, but it seems not to be the same solution Hi, Well, you can try to use UniButton.LayoutConfig.Margin. For example: UniButton1.LayoutConfig.Margin = 22px 0 0 5px Quote Link to comment Share on other sites More sharing options...
bbm Posted June 23, 2020 Author Share Posted June 23, 2020 Hi, thank you very much! Works fine Best regards 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.