Changeset 2096
- Timestamp:
- 08/15/12 13:12:29 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ComponentRegistry/branches/ComponentRegistry-1.12.0/ComponentBrowserGui/src/main/flex/clarin/cmdi/componentregistry/editor/CMDComponentXMLEditor.as
r1988 r2096 237 237 var buttons:FormItem = new SelectTypeRadioButtons(spec); 238 238 head.addChild(buttons); 239 var startOverLabel:Label = createStartOverButton();240 startOverLabel.setStyle("paddingTop", "2");241 startOverLabel.height = buttons.height;242 239 var space:Spacer = new Spacer(); 243 240 space.width = 55; 244 241 head.addChild(space); 245 head.addChild(startOverLabel);246 242 addChild(head); 247 243 … … 371 367 removeChild(event.currentTarget as DisplayObject); 372 368 } 373 374 private function createStartOverButton():Label {375 var startOverButton:Label = new RemoveLabelButton();376 startOverButton.addEventListener(MouseEvent.CLICK, clearEditorHandler);377 startOverButton.toolTip = "Clears all input and removes added components";378 startOverButton.text = "start over";379 return startOverButton;380 }381 369 } 382 370 }
Note: See TracChangeset
for help on using the changeset viewer.