Index: lams_central/src/flash/lam_addseq_wiz.fla =================================================================== diff -u -ra625c6a82306089283c6def4c2c2ac9d76af6489 -r04aa578011325409e9a66b773b2d80229e50ebe3 Binary files differ Index: lams_central/src/flash/org/lamsfoundation/lams/wizard/WizardView.as =================================================================== diff -u -ree712f8212f782fe43fbb4c8a414f50c48d239db -r04aa578011325409e9a66b773b2d80229e50ebe3 --- lams_central/src/flash/org/lamsfoundation/lams/wizard/WizardView.as (.../WizardView.as) (revision ee712f8212f782fe43fbb4c8a414f50c48d239db) +++ lams_central/src/flash/org/lamsfoundation/lams/wizard/WizardView.as (.../WizardView.as) (revision 04aa578011325409e9a66b773b2d80229e50ebe3) @@ -59,6 +59,10 @@ public static var FINISH_MODE:Number = 0; public static var START_MODE:Number = 1; public static var START_SCH_MODE:Number = 2; + + private static var X_BUTTON_OFFSET:Number = 10; + private static var Y_BUTTON_OFFSET:Number = 15; + private var _wizardView:WizardView; private var _tm:ThemeManager; @@ -148,6 +152,7 @@ */ function WizardView(){ _wizardView = this; + _wizardView_mc = this; mx.events.EventDispatcher.initialize(this); _tm = ThemeManager.getInstance(); @@ -310,8 +315,54 @@ schedule_cb.label = Dictionary.getValue('schedule_cb_lbl'); + resizeButtons([cancel_btn, prev_btn, next_btn, close_btn, finish_btn, start_btn]); + positionButtons(); } + /** Resize the buttons according to the label length */ + private function resizeButtons(btns:Array) { + this.createTextField("dummylabel", this.getNextHighestDepth(), -1000, -1000, 0, 0); + Debugger.log('//////////////////// Resizing Buttons ////////////////////',Debugger.CRITICAL,'resizeButtons','org.lamsfoundation.lams.WizardView'); + + for(var i=0; i