diff --git a/exp_scenario/module/gui/calculator.lua b/exp_scenario/module/gui/calculator.lua index 3af096bf..3be3f2cd 100644 --- a/exp_scenario/module/gui/calculator.lua +++ b/exp_scenario/module/gui/calculator.lua @@ -108,9 +108,9 @@ Elements.container = Gui.define("calculator/container") local screen_frame = Gui.elements.screen_frame(parent, nil, true) local button_flow = Gui.elements.screen_frame.get_button_flow(screen_frame) Elements.calculator_caption_label(button_flow, {"exp-gui_calculator.tooltip"}) - local main_table = Gui.elements.scroll_table(parent, 600, 2) - local left_table = Gui.elements.scroll_table(parent, 400, 1) - local right_table = Gui.elements.scroll_table(parent, 200, 1) + local main_table = Gui.elements.scroll_table(screen_frame, 600, 2) + local left_table = Gui.elements.scroll_table(main_table, 400, 1) + local right_table = Gui.elements.scroll_table(main_table, 200, 1) Elements.calculator_caption_label(left_table, {"exp-gui_calculator.expression"}) Elements.calculator_input_textfield(left_table) Elements.calculator_caption_label(left_table, {"exp-gui_calculator.result"})