Closed LaineZ closed 3 years ago
Separator position goes wrong if used in layout windows
Minimal example:
slab.BeginWindow("MenuSettings", {Title = "Settings", X = 200, Y = 150}) slab.BeginLayout("LayoutSettings", { Columns = 3}) slab.SetLayoutColumn(1) slab.Text("Sound:") slab.Separator() slab.Text("SFX:") slab.SameLine() slab.Input("MyInput", { Text = "1.0", ReturnOnText = true, W = 200 }) slab.Text("Mus:") slab.SameLine() slab.Input("MyInput2", { Text = "1.0", ReturnOnText = true, W = 200 }) slab.SetLayoutColumn(2) slab.Text("Graphics:") slab.Separator() slab.CheckBox(false, "Vsync") slab.CheckBox(false, "Fullscreen") slab.EndLayout() slab.Button("Apply") slab.SameLine() slab.Button("Close") slab.EndWindow()
By the way, default font have same issue:
Hi @LaineZ, thanks for reporting this issue. A fix for this issue will be included in the next release which is currently being worked on.
Separator position goes wrong if used in layout windows
Minimal example: