Message 1 of 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello Everyone,
I have a question reading the best practices for aligning an Edit Box inside of Boxed Column. By default it seems like the Edit Box Label is displayed left aligned to the dialog box and the actual edit box is displayed as right aligned to the dialog box.
I can add more spacing to right side by using a few spacer; but I was wondering if there is a better way to do this instead of adding 10 spacers.
Current Code Preview:
This is what I want the dialog to look like.
Sample_Dialog : dialog
{ label = "Sample Dialog";
: boxed_column {
label = "Boxed column title" ;
: column {
: radio_button {key = "OptionA"; label = "Option A - This is a sample option text for a radio button"; value = 1; alignment = left; fixed_width = true; width = 5;}
: radio_button {key = "OptionB"; label = "Option B - This is a sample option text for a radio button"; value = 0; alignment = left; fixed_width = true; width = 5;}
}
: row {
: edit_box {label = "Edit box 1"; key = "EditBox1"; alignment = left; edit_limit = 10; edit_width = 10; value = 1;}
}
: row {
: edit_box {label = "Edit box 2"; key = "EditBox2"; alignment = left; edit_limit = 10; edit_width = 10; value = 1;}
}
}
ok_cancel;
}
Arshdeep Singh
C.Tech, CMSE®
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Solved! Go to Solution.