fix table

This commit is contained in:
JMARyA 2025-01-26 10:16:14 +01:00
parent 6a39c0441d
commit 3f411e071f
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263

View file

@ -17,6 +17,11 @@ pub fn Table<T: UIWidget + 'static + Clone>(inner: Vec<Vec<T>>) -> TableWidget {
TableWidget(Box::new(inner), Vec::new(), None, None)
}
#[allow(non_snake_case)]
pub fn TableRaw<T: UIWidget + 'static + Clone>(inner: T) -> TableWidget {
TableWidget(Box::new(inner), Vec::new(), None, None)
}
pub struct TableWidget(
Box<dyn UIWidget>,
Vec<String>,