+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Resize Content Pane

Resize Content Pane

2 posts, 1 answered
  1. Jaime Weise
    Jaime Weise avatar
    120 posts
    Registered:
    02 Nov 2008
    11 Mar 2010
    Link to this post
    Hi there,

    The Problem
    I was able to add a WebUITypeEditor and create a RadEditor to input text content. This is great because it is simple and allows me to input rich content to my usercontrols public properties. However, The Content pane(Div) that pops up as shown in the provided image has a width that doesn't accommodate the width of the hosted RadEditor. I couldn't seem to find a way to override the class 'Dialog' (class for that particular div) to widen this particular div in sitefinity.

    Answer 
    needed?

    Jaime
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    11 Mar 2010
    Link to this post
    Hi jaime,

    You could change the .Dialog css class in the ~/sitefinity/admin/Themes/Default/PropertyDlg.css stylesheet

    sample

    div.Dialog {
    background:none repeat scroll 0 0 #F0F3F4 !important;
    border:1px solid #666666;
    height:450px !important;
    left:230px;
    margin-right:0;
    overflow:hidden;
    padding:10px 15px 15px;
    position:absolute;
    top:10px;
    width:580px !important;
    z-index:3000;

    but you should better set width and height properties of RadEditor control, because the changes in PropertyDlg.css will affect all dialogs.


    Best wishes,
    Ivan Dimitrov
    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.
    Answered
2 posts, 1 answered