Forums

Skip Navigation LinksHome / Developer Network / Forums / Sitefinity Older Versions (3.x): General Discussions > Resize Content Pane

Resize Content Pane

  • Posted on Mar 10, 2010 (permalink)

    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
    Attached files

    Reply

  • Answer Ivan Dimitrov Ivan Dimitrov admin's avatar

    Posted on Mar 11, 2010 (permalink)

    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.

    Reply

Skip Navigation LinksHome / Developer Network / Forums / Sitefinity Older Versions (3.x): General Discussions > Resize Content Pane