artem_niko Posted April 21, 2022 Share Posted April 21, 2022 Hello to all! I'm interesting standart theme uni_windows11. All ok, but, caption in UniForm is to march: I need make hit small, for example: I mean: 1. Make height caption in UniForm small; 2. Set position of UniForm.Caption on horizontall midlle. I'm not change standart theme, I think, may be, this is somebody bug. How change size and position caption in UniForm in theme uni_windows11? uni-xtheme-uni_windows11.css Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 21, 2022 Share Posted April 21, 2022 1 hour ago, artem_niko said: 2. Set position of UniForm.Caption on horizontall midlle. Hello, Can you try? procedure TMainForm.UniFormCreate(Sender: TObject); begin JSInterface.JSConfig('titleAlign', ['center']); end; Quote Link to comment Share on other sites More sharing options...
artem_niko Posted April 21, 2022 Author Share Posted April 21, 2022 9 minutes ago, Sherzod said: Hello, Can you try? procedure TMainForm.UniFormCreate(Sender: TObject); begin JSInterface.JSConfig('titleAlign', ['center']); end; Thank's, this work too : But, if I want set UniForm.Caption on horizontall middle, for this exist property: UniForm.CaptionAlign=taCenter. But, early, I was talk about middlle by vertical + change height UniForm.Caption (use CSS or JS). Like this: Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 21, 2022 Share Posted April 21, 2022 13 minutes ago, artem_niko said: UniForm.CaptionAlign=taCenter. Sorry, yes. Quote Link to comment Share on other sites More sharing options...
artem_niko Posted April 21, 2022 Author Share Posted April 21, 2022 7 minutes ago, Sherzod said: Sorry, yes. Is it possible change in theme? 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.