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

How to adjust item height?

1 Answer 61 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Pavels
Top achievements
Rank 1
Pavels asked on 28 Nov 2011, 05:52 PM
Hi,

Please can you advise how to adjust item height of PanelBar control?
I'm using 24x24 icons and they don't fit nicely into a default item height...

Thanks.

PT.

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 28 Nov 2011, 07:12 PM
Hello Pavels,

The PanelBar items' height is determined by:

.t-panelbar .t-link
{
    border-bottom: 1px solid;
    display: block;
    line-height: 2.05em;
    padding: 0 1em;
    position: relative;
    text-decoration: none;
}

You can override this according to your preference. Note that you will also need to adjust the top position style of the expand icons:

.t-panelbar-expand,
.t-panelbar-collapse
{
    position: absolute;
    right: 2px;
    top: 5px;
}


Regards,
Dimo
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now
Tags
PanelBar
Asked by
Pavels
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or