dotfiles_ewwii/nbcl/panel/panel_section.nbcl

27 lines
594 B
Plaintext

# 3 Sections of the panel
component PanelSection (section_side, widg_align) {
Box {
orinetation = "horizontal"
halign = "center"
class = "panel_section panel_section_" + section_side
height = config.panel_height
width = config.panel_width/3
space_evenly = true
Label {
class = "panel_section_widg"
text = "panel_section_" + section_side
halign = widg_align
height = config.panel_height
width = "100%"
}
}
}
fn panel_section(section_side, widg_align) {
PanelSection "section_${section_side}" {
section_side = section_side
widg_align = widg_align
}
}