Closed harrisoncramer closed 11 months ago
Try this instead?
local layout = Layout(
{
position = "50%",
relative = "editor",
size = {
width = "95%",
height = "95%",
},
},
Layout.Box({
Layout.Box(box_one, { size = 3 }),
Layout.Box(box_two, { grow = 1 }),
Layout.Box(box_three, { size = 15 }),
}, { dir = "col" })
)
Wow thank you very much, it's quite simple! Thank you!
I'm trying to build a layout that looks like the following, where the top and bottom sections are predefined in size and the middle section grows to fill the remaining available container:
Here's the code:
For some reason, it looks like box one and box two overlap, and when one is focused (either one) it hides the content in the other box. Am I doing something wrong here?