This is a migrated thread and some comments may be shown as answers.

Hide Window Icon

4 Answers 377 Views
Window
This is a migrated thread and some comments may be shown as answers.
Dick
Top achievements
Rank 1
Dick asked on 24 Sep 2009, 02:44 PM
I want to remove the window icon in my custom skin. I can hide the icon in the style sheet but i also need to left align the title text, but there appears to be a table cell (where the icon was?). Is there a way to do this?

4 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 25 Sep 2009, 12:42 PM
Hello Dick,

I am afraid this is not possible due to the structure of the RadWindow.

All the best,
Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
virt
Top achievements
Rank 1
answered on 30 Sep 2009, 07:42 PM
It is possible to Hide the Icon and shift the Title through CSS.

1. You can hide icon by doing this in CSS

.RadWindow .rwIcon { 
height: 0!important; 
width: 0!important; 


2. Then shift the title text using:

div.RadWindow_AsiSkin .rwTitlebarControls em{ 
margin-left: -16px


You can change -16px to whatever dimensions you need.

Hope it helps,
Andrei


0
Georgi Tunev
Telerik team
answered on 01 Oct 2009, 10:00 AM
Hi virt,

This will not produce consistent result in different browsers - that is the reason why we did not suggested it. Of course, if the result satisfies your requirements, you could use this approach.


Best wishes,
Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Thein
Top achievements
Rank 1
answered on 29 Aug 2012, 06:58 AM

.RadWIcon

{

 

 

width: 0px;

 

 

 

margin-left: 0px;

 

 

 

margin-right: 0px;

 

 

 

cursor: default;

 

 

 

margin-top: 0px;

 

}

Tags
Window
Asked by
Dick
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
virt
Top achievements
Rank 1
Thein
Top achievements
Rank 1
Share this question
or