﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
6007	Improve replaceable class input widget	Francesco Casella	Adeel Asghar	"The replaceable class input widget should be improved. 

Please open the {{{ThermoPower.Test.GasComponents.TestGasPlenum}}} test case and double-click e.g. on {{{SourceP1}}}. The parameter medium shows the replaceable {{{Medium}}} package. Now, the component is instantiated as:
{{{
Gas.SourcePressure SourceP1(redeclare Medium = Medium, ...);
}}}
However, this redeclaration doesn't show up in the Medium wigdet, which is empty.

Furthermore, if I type in manually the class name, this is not passed down to the redeclaration; in fact, it also removes the current declaration.

I guess this really needs to be fixed for the release.

Also, the Parameters windows is sized based on the length of the other input widgets, but not considering the lenght of the strings in the replaceable windows drop-down list. Hence, this is not wide enough to show the names of replaceable classe, which are clipped. The length of the items in this drop-down list should also be considered to determine the width of the parameter window.

Last, but not least, in the drop-down menu we should also show the comments of the classes that are compatible, not only their names."	defect	closed	blocker	1.16.0	OMEdit		fixed		Adrian Pop
