1 Reply Latest reply on Sep 10, 2008 1:38 PM by (Mike_J_B)

    dialog won't display correctly

    Level 1
      I'm trying to create a simple dialog that has a title, some text, and ok, cancel, other buttons. However, when I create it, the buttons appear on the left and the text appears on the same row to the right of the buttons. I've tried everything I can think of and can't seem to get it to do what I want. Here's my code:

      var dlgUserChoice = {
      initialize: function(dialog) { },
      commit: function(dialog) { },

      other: function(dialog){
      dialog.end("other");
      },

      description: {
      name: "blah blah blah blah blah",
      height: 100,
      align_children: "align_left",
      elements:
      [
      {
      type: "static_text",
      name: "blah blah blah blah blah",
      font: "default"
      }
      ,
      {
      type: "ok_cancel_other",
      ok_name: "Choice 1",
      other_name: "Choice 2",
      cancel_name: "Cancel"
      }
      ]
      }
      };