﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
8329	Ability to support vbox layout for Radio buttons in dialogs	Henrik Helmø Larsen		"It would be nice to allow radio buttons to be able to use vbox layout instead of the hardcoded hbox-layout.

This can be done by inserting the following code:

{{{
if ( elementDefinition.labelLayout != 'horizontal' )
  new CKEDITOR.ui.dialog.vbox( dialog, [], inputHtmlList, html );
else
  new CKEDITOR.ui.dialog.hbox( dialog, [], inputHtmlList, html );
}}}

instead of:

{{{
new CKEDITOR.ui.dialog.hbox( dialog, [], inputHtmlList, html );
}}}

In version 3.6.1 the code that has been changed is in line 479 of plugins.js under the dialogui folder.

It is then possible - when creating the radiobutton group in the dialog to use:

''labelLayout: ""vertical""'''

By writing the code in the above way it would be backward compatible using the hbox layout if nothing is defined - but if anything else than ""horizontal"" is used, vbox layout will be used instead.

I hope you will include this ""minor"" change so I don't manually have to insert it in the code for every update of CKEDITOR ;-)"	New Feature	closed	Normal		UI : Dialogs		duplicate		
