mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-27 23:57:13 +09:00
.
This commit is contained in:
1 parent
13abdea77d
commit
2ac9e6d0a9
1 file changed
+5
-2
@@ -90,6 +90,9 @@ Elements.calculator_input_textfield = Gui.define("calculator/input_textfield")
|
|||||||
type = "textfield",
|
type = "textfield",
|
||||||
name = "calculator_input_textfield",
|
name = "calculator_input_textfield",
|
||||||
}
|
}
|
||||||
|
:draw{
|
||||||
|
width = 400
|
||||||
|
}
|
||||||
|
|
||||||
--- Output label
|
--- Output label
|
||||||
Elements.calculator_result_label = Gui.define("calculator/result_label")
|
Elements.calculator_result_label = Gui.define("calculator/result_label")
|
||||||
@@ -115,11 +118,11 @@ Elements.container = Gui.define("calculator/container")
|
|||||||
local button_flow = Gui.elements.screen_frame.get_button_flow(screen_frame)
|
local button_flow = Gui.elements.screen_frame.get_button_flow(screen_frame)
|
||||||
local header = Elements.calculator_caption_label(button_flow, {"exp-gui_calculator.tooltip"})
|
local header = Elements.calculator_caption_label(button_flow, {"exp-gui_calculator.tooltip"})
|
||||||
header.style = "frame_title"
|
header.style = "frame_title"
|
||||||
local main_table = Gui.elements.scroll_table(screen_frame, 600, 2)
|
local main_table = Gui.elements.scroll_table(screen_frame, 400, 2)
|
||||||
main_table.draw_horizontal_lines = true
|
main_table.draw_horizontal_lines = true
|
||||||
local left_table = Gui.elements.scroll_table(main_table, 400, 1)
|
local left_table = Gui.elements.scroll_table(main_table, 400, 1)
|
||||||
left_table.vertical_centering = false
|
left_table.vertical_centering = false
|
||||||
local right_table = Gui.elements.scroll_table(main_table, 200, 1)
|
local right_table = Gui.elements.scroll_table(main_table, 400, 1)
|
||||||
Elements.calculator_caption_label(left_table, {"exp-gui_calculator.expression"})
|
Elements.calculator_caption_label(left_table, {"exp-gui_calculator.expression"})
|
||||||
Elements.calculator_input_textfield(left_table)
|
Elements.calculator_input_textfield(left_table)
|
||||||
Elements.calculator_caption_label(left_table, {"exp-gui_calculator.result"})
|
Elements.calculator_caption_label(left_table, {"exp-gui_calculator.result"})
|
||||||
|
|||||||
Reference in new issue
Block a user