mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-27 23:57:13 +09:00
.
This commit is contained in:
1 parent
463030c039
commit
ccaca06555
1 file changed
+3
-3
@@ -89,9 +89,6 @@ Elements.calculator_input_textfield = Gui.define("calculator/input_textfield")
|
||||
:draw{
|
||||
type = "textfield",
|
||||
}
|
||||
:style{
|
||||
width = 300,
|
||||
}
|
||||
|
||||
--- Output label
|
||||
Elements.calculator_result_label = Gui.define("calculator/result_label")
|
||||
@@ -109,8 +106,11 @@ Elements.container = Gui.define("calculator/container")
|
||||
local button_flow = Gui.elements.screen_frame.get_button_flow(screen_frame)
|
||||
local header = Elements.calculator_caption_label(button_flow, {"exp-gui_calculator.tooltip"})
|
||||
header.style = "frame_title"
|
||||
header.style.horizontal_align = "left"
|
||||
local main_table = Gui.elements.scroll_table(screen_frame, 500, 2)
|
||||
main_table.draw_horizontal_lines = true
|
||||
local left_table = Gui.elements.scroll_table(main_table, 300, 1)
|
||||
left_table.vertical_centering = false
|
||||
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)
|
||||
|
||||
Reference in new issue
Block a user