Jump to content

How to Change Windows Caption Font of uniForm at Run-Time?


newsanti

Recommended Posts

15 minutes ago, artem_niko said:

How make like this?

image.png.36880fbbbabb1d3c9b20831e32c8bb1d.png

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;
}

 

  • Thanks 1
Link to comment
Share on other sites

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?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...