newsanti Posted December 11, 2022 Share Posted December 11, 2022 How to Change Windows Caption Font of uniForm at Run-Time? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 11, 2022 Share Posted December 11, 2022 2 hours ago, newsanti said: How to Change Windows Caption Font of uniForm at Run-Time? Hello, For example: 1. CustomCSS: .customWin .x-panel-header { font: italic small-caps bold 14px cursive, serif; } 2. MainForm.LayoutConfig.Cls = customWin 1 Quote Link to comment Share on other sites More sharing options...
artem_niko Posted December 12, 2022 Share Posted December 12, 2022 13 hours ago, Sherzod said: Hello, For example: 1. CustomCSS: .customWin .x-panel-header { font: italic small-caps bold 14px cursive, serif; } 2. MainForm.LayoutConfig.Cls = customWin What about color of title? 1 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 12, 2022 Share Posted December 12, 2022 25 minutes ago, artem_niko said: What about color of title? Ok, for example: .customWin .x-window-header-title { font-family: cursive, serif; font-size: 18px; font-style: italic; color: green; font-weight: normal; } 1 1 Quote Link to comment Share on other sites More sharing options...
artem_niko Posted December 12, 2022 Share Posted December 12, 2022 11 minutes ago, Sherzod said: Ok, for example: .customWin .x-window-header-title { font-family: cursive, serif; font-size: 18px; font-style: italic; color: green; font-weight: normal; } It's working for not all caption: How make like this? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 12, 2022 Share Posted December 12, 2022 15 minutes ago, artem_niko said: How make like this? You can try this: .customWin .x-window-header-title { font-family: cursive, serif; font-size: 18px; font-style: italic; color: white; font-weight: normal; } .customWin .x-window-header { background-color: green; border: none; } 1 Quote Link to comment Share on other sites More sharing options...
artem_niko Posted December 12, 2022 Share Posted December 12, 2022 9 hours ago, Sherzod said: You can try this: .customWin .x-window-header-title { font-family: cursive, serif; font-size: 18px; font-style: italic; color: white; font-weight: normal; } .customWin .x-window-header { background-color: green; border: none; } Thank's, @Sherzod! Last question. I'm have CSS code: rounded { border-radius: 12px; border-color: #292D2B!important; /*цвет рамки форм*/ border-width: 0px!; color: #2b333b!important; background-color:#2b333b!important; /*цвет формы*/ } This code makes the rounded edges of the shape the way I need it. But, if I try to add it to your code above, then my frame does not become rounded + its color does not change the way it all changes if I just use .rounded How do I combine your code and mine into one? Quote Link to comment Share on other sites More sharing options...
artem_niko Posted December 12, 2022 Share Posted December 12, 2022 updated: I did it myself .customWin { border-radius: 12px !important; border-color: #29292B !important; /*цвет рамки форм*/ border-width: 0px!; color: #2b333b!important; background-color:#2b333b!important; /*цвет формы*/ } 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.