Point Posted January 11, 2022 Share Posted January 11, 2022 Hello, Is it posible to rotate title panel like image below. Thanks You. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted January 11, 2022 Share Posted January 11, 2022 Hello, Yes. BTW what alignment are you using? Quote Link to comment Share on other sites More sharing options...
55143681 Posted January 11, 2022 Share Posted January 11, 2022 3 hours ago, Point said: Hello, Is it posible to rotate title panel like image below. Thanks You. I have tested it with UniGUI1555 + xe10.3.3 The Title is what you want. Quote Link to comment Share on other sites More sharing options...
Point Posted January 11, 2022 Author Share Posted January 11, 2022 for more details i create a test case TitlePanelTestcase.7z Quote Link to comment Share on other sites More sharing options...
Point Posted January 11, 2022 Author Share Posted January 11, 2022 4 minutes ago, 55143681 said: I have tested it with UniGUI1555 + xe10.3.3 The Title is what you want. i use 1555 too, how to setting it ?, i try with css but still not success yet Quote Link to comment Share on other sites More sharing options...
55143681 Posted January 11, 2022 Share Posted January 11, 2022 Just now, Point said: i use 1555 too, how to setting it ?, i try with css but still not success yet without any setup, wo!!! I use UnimPanel,not UniPanel. Quote Link to comment Share on other sites More sharing options...
Point Posted January 11, 2022 Author Share Posted January 11, 2022 42 minutes ago, Sherzod said: Hello, Yes. BTW what alignment are you using? hi sherzod, please check the testcase above Quote Link to comment Share on other sites More sharing options...
Sherzod Posted January 11, 2022 Share Posted January 11, 2022 7 minutes ago, Point said: for more details i create a test case Try this config: procedure TMainForm.UniFormCreate(Sender: TObject); begin MenuMainPanel.JSInterface.JSConfig('titleRotation', [2]); end; Quote Link to comment Share on other sites More sharing options...
Point Posted January 11, 2022 Author Share Posted January 11, 2022 1 minute ago, Sherzod said: Try this config: procedure TMainForm.UniFormCreate(Sender: TObject); begin MenuMainPanel.JSInterface.JSConfig('titleRotation', [2]); end; Work very well. Many Thanks, Sherzod. 1 Quote Link to comment Share on other sites More sharing options...
55143681 Posted January 11, 2022 Share Posted January 11, 2022 2 minutes ago, Sherzod said: Try this config: procedure TMainForm.UniFormCreate(Sender: TObject); begin MenuMainPanel.JSInterface.JSConfig('titleRotation', [2]); end; Well,UnimPanel does not has the problem, But,UniPanel has this problem, With Sherzod's code, works well. Quote Link to comment Share on other sites More sharing options...
55143681 Posted January 12, 2022 Share Posted January 12, 2022 20 hours ago, 55143681 said: Well,UnimPanel does not has the problem, But,UniPanel has this problem, With Sherzod's code, works well. How change the title's font size? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted January 12, 2022 Share Posted January 12, 2022 48 minutes ago, 55143681 said: How change the title's font size? Hello, You can try this approach. 1. CustomCSS -> .customHeaderCls .x-title { font-size: 14px; } 2. UniPanel -> ClientEvents -> UniEvents -> function beforeInit(sender, config) { config.header = { cls: "customHeaderCls" } } 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.