Commit 4733e140 authored by Tammo Jan Dijkema's avatar Tammo Jan Dijkema
Browse files

Move new model selector down

parent 2945fd18
......@@ -39,7 +39,6 @@ function model(element_name) {
this.window.title_set("DT model");
this.lbl_select = new dt_ui_element(element_name + "_lbl_select");
this.lbl_name = new dt_ui_element(element_name + "_lbl_name");
this.lbl_a0 = new dt_ui_element(element_name + "_lbl_a0");
this.lbl_c1 = new dt_ui_element(element_name + "_lbl_c1");
......@@ -48,8 +47,8 @@ function model(element_name) {
this.lbl_b = new dt_ui_element(element_name + "_lbl_b");
this.lbl_za = new dt_ui_element(element_name + "_lbl_za");
this.lbl_aa = new dt_ui_element(element_name + "_lbl_aa");
this.lbl_select = new dt_ui_element(element_name + "_lbl_select");
this.select_model = new dt_ui_select(element_name + "_select_model");
this.val_name = new dt_ui_value(element_name + "_val_name");
this.val_a0 = new dt_ui_value(element_name + "_val_a0");
this.val_c1 = new dt_ui_value(element_name + "_val_c1");
......@@ -58,6 +57,7 @@ function model(element_name) {
this.val_b = new dt_ui_value(element_name + "_val_b");
this.val_za = new dt_ui_value(element_name + "_val_za");
this.val_aa = new dt_ui_value(element_name + "_val_aa");
this.select_model = new dt_ui_select(element_name + "_select_model");
this.button_reload = new dt_ui_button(element_name + "_reload");
......@@ -94,20 +94,18 @@ function model(element_name) {
this.button_reload.text_set("Load new model");
this.window.resize_equal([
this.lbl_select,
this.lbl_name, this.lbl_a0, this.lbl_c1, this.lbl_c2,
this.lbl_e0, this.lbl_b, this.lbl_za, this.lbl_aa]);
this.lbl_e0, this.lbl_b, this.lbl_za, this.lbl_aa,
this.lbl_select]);
this.window.resize_equal([
this.select_model,
this.val_name, this.val_a0, this.val_c1, this.val_c2,
this.val_e0, this.val_b, this.val_za, this.val_aa]);
this.val_e0, this.val_b, this.val_za, this.val_aa,
this.select_model]);
this.window.align_vertical([
this.lbl_select,
this.lbl_name, this.lbl_a0, this.lbl_c1, this.lbl_c2,
this.lbl_e0, this.lbl_b, this.lbl_za, this.lbl_aa], 5);
this.window.align_horizontal([this.lbl_select, this.select_model], 5);
this.window.align_horizontal([this.lbl_name, this.val_name], 5);
this.lbl_e0, this.lbl_b, this.lbl_za, this.lbl_aa,
this.lbl_select], 5);
this.window.align_horizontal([this.lbl_a0, this.val_a0], 5);
this.window.align_horizontal([this.lbl_c1, this.val_c1], 5);
this.window.align_horizontal([this.lbl_c2, this.val_c2], 5);
......@@ -115,8 +113,10 @@ function model(element_name) {
this.window.align_horizontal([this.lbl_b, this.val_b], 5);
this.window.align_horizontal([this.lbl_za, this.val_za], 5);
this.window.align_horizontal([this.lbl_aa, this.val_aa], 5);
this.window.align_horizontal([this.lbl_select, this.select_model], 5);
this.window.align_vertical([this.lbl_aa, this.button_reload], 10);
this.window.align_horizontal([this.lbl_name, this.val_name], 5);
this.window.align_vertical([this.lbl_select, this.button_reload], 10);
this.status = new status("dummy mode", "dt_model");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment