This question is locked. New answers and comments are not allowed.
Alastair Eddie
Top achievements
Rank 1
Alastair Eddie
asked on 08 Nov 2010, 01:00 PM
Hi,
Can you recommend how best to style the command buttons created by the grid. When in icon mode, I'd like to shrink the buttons to a smaller width.
Thanks,
Alastair
Can you recommend how best to style the command buttons created by the grid. When in icon mode, I'd like to shrink the buttons to a smaller width.
Thanks,
Alastair
4 Answers, 1 is accepted
0
Hello Alastair,
Please try the following CSS:
.t-grid-action { min-width: 0; padding: 0; }
.t-grid-action .t-icon { margin: 0; }
We are aware of this visual problem and will try to address it for the Q3 SP1.
All the best,
Alex Gyoshev
the Telerik team
Please try the following CSS:
.t-grid-action { min-width: 0; padding: 0; }
.t-grid-action .t-icon { margin: 0; }
We are aware of this visual problem and will try to address it for the Q3 SP1.
All the best,
Alex Gyoshev
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0
Alastair Eddie
Top achievements
Rank 1
answered on 09 Nov 2010, 12:22 PM
Thanks for your reply.
I added the CSS styling to my main css file that is loaded in the master page but it has no effect on the style of the command buttons.
The grid is within a partial view loaded by AJAX - does this make a difference?
Al
I added the CSS styling to my main css file that is loaded in the master page but it has no effect on the style of the command buttons.
The grid is within a partial view loaded by AJAX - does this make a difference?
Al
0
Hello Alastair,
I did not increase the CSS specificity enough, sorry. Here is the correct CSS:
div.t-grid .t-grid-action { min-width: 0; padding: 0; }
div.t-grid .t-grid-action .t-icon { margin: 0; }
Regards,
Alex Gyoshev
the Telerik team
I did not increase the CSS specificity enough, sorry. Here is the correct CSS:
div.t-grid .t-grid-action { min-width: 0; padding: 0; }
div.t-grid .t-grid-action .t-icon { margin: 0; }
Regards,
Alex Gyoshev
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0
Alastair Eddie
Top achievements
Rank 1
answered on 09 Nov 2010, 01:17 PM
Thanks - that's sorted it.
Al
Al