:: Forum >>

“3D button” effect when clicking on the grid column header for sorting

Hello,
With AW 1.0, when we click on the grid column header for sorting, the “3D button“ effect is by default. By “3D button” effect, I mean the colour of the header cell changes and the text is slightly shifted so that we have the impression we are pushing a real button.
With AW 2.0, this effect is not by default. How do I have to set the grid to have it?
Thanks in advance for your help!

Livio
Friday, August 1, 2008
The 'pressed' header is implemented for vista theme. For 'xp' you can add it with

.aw-header-0 .aw-mousedown-header {
    border-bottom-color: #a5a597;
    background: #dedfd8!important;
}


.aw-header-0 .aw-mousedown-header .aw-item-box {
    border-bottom-color: #dedfd8;
    background: #dedfd8;
    text-indent: 1px;
}
Alex (ActiveWidgets)
Monday, August 4, 2008
Thank you very much for your reply Alex!
In my case I have to use "font-size: smaller;" instead of "text-indent: 1px;" since most of my column headers are right-aligned.
Best regards!
Livio
Tuesday, August 5, 2008

This topic is archived.


Back to support forum

Forum search