Import
use maccn::MacBox;Usage
MacBox::new("settings-group")
.child(MacLabel::new("caption").style(LabelStyle::Footnote).child("Network"))
.child("Content here");API
Constructor
| Method | Description |
|---|---|
MacBox::new(id) | Creates a new box container with the given element ID. |
Traits
| Trait | Description |
|---|---|
Styled | Set background, border, padding, etc. |
ParentElement | Add child elements via .child(). |