Component: Plain Panel

This commit is contained in:
Candifloss 2026-08-22 16:36:03 +05:30
parent 7d163a6759
commit f0b919c4ca
3 changed files with 16 additions and 5 deletions

View File

@ -1 +1 @@
import "nbcl/panel/panel_window.nbcl" as ewwiipanel
import "nbcl/panel/panel_window.nbcl" as ewwii_panel

View File

@ -0,0 +1,11 @@
component PanelComp () {
Box {
orinetation = "horizontal"
halign = "center"
Label {
widget_name = "panel_comp_sample_text"
text = "Plain Panel"
}
}
}

View File

@ -1,4 +1,6 @@
Window "ewwiipanel" {
import "nbcl/panel/panel_component.nbcl" as panel_component { * }
Window "ewwii_panel" {
monitor = 0
windowtype = "dock"
wm_ignore = false
@ -15,7 +17,5 @@ Window "ewwiipanel" {
side = "top"
}
Label {
text = "Plain Panel"
}
PanelComp {}
}