widget/configuration: typo and documentation update
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
This commit is contained in:
@@ -27,7 +27,7 @@ impl Template for ConfigurationView {
|
|||||||
self.child(
|
self.child(
|
||||||
Grid::new()
|
Grid::new()
|
||||||
.id(ID_CONFIGURATION_FORM)
|
.id(ID_CONFIGURATION_FORM)
|
||||||
.style(configuration_form)
|
.style("configuration_form")
|
||||||
.columns(
|
.columns(
|
||||||
Columns::create()
|
Columns::create()
|
||||||
.push(120)
|
.push(120)
|
||||||
@@ -35,13 +35,13 @@ impl Template for ConfigurationView {
|
|||||||
.push("auto")
|
.push("auto")
|
||||||
)
|
)
|
||||||
.rows(Rows::create()
|
.rows(Rows::create()
|
||||||
.push("auto")
|
.push("auto") // Header_Bar
|
||||||
.push(4)
|
.push(4) // Seperator
|
||||||
.push("auto")
|
.push("auto") // Configuartion_File
|
||||||
.push(4)
|
.push(4) // Seperator
|
||||||
.push("auto")
|
.push("auto") // Language_ID
|
||||||
.push(12)
|
.push(12) // Seperator
|
||||||
.push("auto"),
|
.push("auto"), // Action
|
||||||
)
|
)
|
||||||
.child(
|
.child(
|
||||||
TextBlock::new()
|
TextBlock::new()
|
||||||
@@ -112,7 +112,7 @@ impl Template for ConfigurationView {
|
|||||||
.style("button_single_content")
|
.style("button_single_content")
|
||||||
.attach(Grid::column(0))
|
.attach(Grid::column(0))
|
||||||
.attach(Grid::row(0))
|
.attach(Grid::row(0))
|
||||||
.text("load")
|
.text("Load")
|
||||||
.on_click(move |ctx, _| {
|
.on_click(move |ctx, _| {
|
||||||
ctx.send_message(ConfigurationAction::LoadConfiguration, id);
|
ctx.send_message(ConfigurationAction::LoadConfiguration, id);
|
||||||
true
|
true
|
||||||
@@ -121,7 +121,7 @@ impl Template for ConfigurationView {
|
|||||||
)
|
)
|
||||||
.child(
|
.child(
|
||||||
Button::new()
|
Button::new()
|
||||||
.text("save")
|
.text("Save")
|
||||||
.style("button_single_content")
|
.style("button_single_content")
|
||||||
.attach(Grid::column(2))
|
.attach(Grid::column(2))
|
||||||
.attach(Grid::row(0))
|
.attach(Grid::row(0))
|
||||||
|
|||||||
Reference in New Issue
Block a user