dash-frontend: Use native <Button>s, children support
This commit is contained in:
@@ -12,7 +12,7 @@ use wgui::{
|
||||
event::EventListenerCollection,
|
||||
globals::WguiGlobals,
|
||||
i18n::Translation,
|
||||
layout::{Layout, Widget},
|
||||
layout::{Layout, LayoutParams, Widget},
|
||||
parser::{ParseDocumentExtra, ParseDocumentParams, ParserState},
|
||||
widget::{label::WidgetLabel, rectangle::WidgetRectangle},
|
||||
};
|
||||
@@ -81,6 +81,9 @@ impl TestbedGeneric {
|
||||
path: XML_PATH,
|
||||
extra,
|
||||
},
|
||||
&LayoutParams {
|
||||
resize_to_parent: true,
|
||||
},
|
||||
)?;
|
||||
|
||||
let label_cur_option = state.fetch_widget(&layout.state, "label_current_option")?;
|
||||
|
||||
Reference in New Issue
Block a user