Is there a way to change the layout of the templates?
Yes, using skins. You can change the skin of the TemplatePicker from the default "TemplatePickerSkin" to either the "simple" TemplatePickerSimpleSkin provided or edit the skin to you liking. In your case, the provided "simple" skin might be pretty close to what you want.<fx:Style> @namespace esri "http://www.esri.com/2008/ags"; esri|TemplatePicker { skinClass: ClassReference("com.esri.ags.skins.TemplatePickerSimpleSkin"); } </fx:Style>
You can read more about skinning on http://resources.arcgis.com/en/help/flex-api/concepts/index.html#/Styling_and_skinning_overview/017p...The skins are listed in the API Referencehttp://resources.arcgis.com/en/help/flex-api/apiref/index.html?com/esri/ags/skins/package-detail.htm...and are available in the "API Library download" (with the swc)See for exampleTemplatePickerSimpleSkin - Alternative skin class for the TemplatePicker component which does not group feature templates by feature layers.http://resources.arcgis.com/en/help/flex-api/apiref/index.html?com/esri/ags/skins/package-detail.htm...