dialog box width

Discussion in 'AutoCAD' started by Robb, Aug 7, 2003.

  1. Robb

    Robb Guest

    Hey all,
    I hope someone can help me fix what seems to be an easy problem I'm
    having with a dialog box. When someone wants to plot a drawing, a
    dialog box pops up with a few radio buttons and an edit box. I added a
    note below the radio buttons but that increases the width of the box
    with blank space to the right. I've tried a few things but nothing
    seems to make a difference. I am running ACAD2000. Here is the code
    and thank you in advance for the help.
    Robb

    plotbill : dialog {
    label = "Plotbill";
    fixed_width = true;
    width = 10;
    spacer_1;
    : radio_column
    {
    label = "Plot size";
    key = "plotsize";
    alignment = centered;
    fixed_width = true;
    : radio_button
    {
    label = "A size";
    key = "b size";
    }
    : radio_button
    {
    label = "B size";
    key = "B size";
    }
    : radio_button
    {
    label = "C size";
    key = "C size";
    }
    : radio_button
    {
    label = "D size";
    key = "D size";
    }
    : radio_button
    {
    label = "Sketch (no charge)";
    key = "sketch";
    }
    } //radio_column
    spacer_1;

    //This is new code

    : boxed_column {
    label = "Note:";
    alignment = centered;
    fixed_width=true;
    width=10;
    //: column {
    : text_part
    {
    label = " If you do not want to charge for";
    fixed_width=true;
    width = 10;
    }
    : text_part
    {
    label = " this plot, pick Sketch or click";
    fixed_width=true;
    width = 10;
    }
    : text_part
    {
    label = " the Cancel button.";
    fixed_width=true;
    width = 10;
    }
    : spacer { width = 0; }
    // }//column
    }//boxed_row

    spacer_1;

    //End of new code

    : row {
    alignment = centered;
    fixed_width=true;
    width=10;
    // spacer_1;
    : edit_box {
    label = "Job No.";
    value = "jobnum";
    key = "jobno";
    edit_width = 10;
    edit_limit = 8;
    }
    }
    spacer_1;
    ok_cancel;
    }
     
    Robb, Aug 7, 2003
    #1
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.