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

[Solved] Telerik Skin - Hover Over Inconsistency

3 Answers 92 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Paul Mc
Top achievements
Rank 1
Paul Mc asked on 12 Jun 2009, 03:14 PM

Hi

We have been working with the Rad:TreeView using the “Telerik” skin and have noticed an inconsistency with the hover over effect in IE7 vs IE8 vs FF3.

The inconsistency also seems to be happen on this online demo for us as well.

 

When you hover over a node, in IE7 there appears to be an extra lighter green line within the border at the top of the anchor tag.  In IE8 the same happens but the extra line appears inside the border at the bottom.  The extra line gives the appearance that the top/bottom border respectively is 1px larger than it should be.

In FF3, there is no extra line which I think is consistent with other controls within the suite.

In our case, we have been trying to set the font size larger on the anchor (class rtIn) as well which seems to amplify the problem.  As the font gets larger the "padding-top" appears to get larger.

Has anyone else had this problem?

3 Answers, 1 is accepted

Sort by
0
Accepted
Kamen Bundev
Telerik team
answered on 18 Jun 2009, 08:40 AM
Hello Paul,

The border issue was fixed and the fix will be available with the next internal build. Meanwhile as a workaround you can add these CSS rules to your project to fix it:
div.RadTreeView_Telerik .rtHover .rtIn
{
    background-color: #d0f7c3;
}
div.RadTreeView_Telerik .rtSelected .rtIn
{
    background-color: #9dce78;
}


As for the font size issue - the padding is not getting larger - the row container is cutting the top and bottom part of the hovers. That's why you will need to adjust the height of another element - rtSp. For instance to make the font-size 20px you need to add this CSS to your project:
.RadTreeView .rtSp
{
    height: 35px;
}


All the best,
Kamen Bundev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Paul Mc
Top achievements
Rank 1
answered on 18 Jun 2009, 09:09 AM
Thanks Kamen,  that works a treat and fixes all of my problems.

I have to ask, is this worthy of any Telerik Points? :)
0
Kamen Bundev
Telerik team
answered on 18 Jun 2009, 01:59 PM
Hi Paul,

I'm sorry, I've updated your Telerik points accordingly.

Regards,
Kamen Bundev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
TreeView
Asked by
Paul Mc
Top achievements
Rank 1
Answers by
Kamen Bundev
Telerik team
Paul Mc
Top achievements
Rank 1
Share this question
or