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

View HTML dialog width set too narrow in latest release

2 Answers 236 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Scott
Top achievements
Rank 1
Scott asked on 24 Jul 2013, 05:40 AM
The View HTML window has the width set to 400px via the .k-editor-dialog class which makes the internal content scroll.

http://demos.kendoui.com/web/editor/all-tools.html 

2 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 24 Jul 2013, 08:37 AM
Hello Scott,

Thank you for reporting this problem, it is now fixed and changes will take effect in the next internal and official builds.

In the meantime, you can use the following workarond:

// execute after initializing the Editor
 
$(".k-viewHtml").click(function(){
    setTimeout(function(){
        $(".k-editor-dialog").width("");
    }, 1);
});


Regards,
Dimo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
NYePiD
Top achievements
Rank 1
answered on 07 Aug 2013, 04:17 PM
No JS is required, add the following css override:

div.k-window-content {
  width:auto;
}
Tags
Editor
Asked by
Scott
Top achievements
Rank 1
Answers by
Dimo
Telerik team
NYePiD
Top achievements
Rank 1
Share this question
or