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(
|
||||
Grid::new()
|
||||
.id(ID_CONFIGURATION_FORM)
|
||||
.style(configuration_form)
|
||||
.style("configuration_form")
|
||||
.columns(
|
||||
Columns::create()
|
||||
.push(120)
|
||||
@@ -35,13 +35,13 @@ impl Template for ConfigurationView {
|
||||
.push("auto")
|
||||
)
|
||||
.rows(Rows::create()
|
||||
.push("auto")
|
||||
.push(4)
|
||||
.push("auto")
|
||||
.push(4)
|
||||
.push("auto")
|
||||
.push(12)
|
||||
.push("auto"),
|
||||
.push("auto") // Header_Bar
|
||||
.push(4) // Seperator
|
||||
.push("auto") // Configuartion_File
|
||||
.push(4) // Seperator
|
||||
.push("auto") // Language_ID
|
||||
.push(12) // Seperator
|
||||
.push("auto"), // Action
|
||||
)
|
||||
.child(
|
||||
TextBlock::new()
|
||||
@@ -112,7 +112,7 @@ impl Template for ConfigurationView {
|
||||
.style("button_single_content")
|
||||
.attach(Grid::column(0))
|
||||
.attach(Grid::row(0))
|
||||
.text("load")
|
||||
.text("Load")
|
||||
.on_click(move |ctx, _| {
|
||||
ctx.send_message(ConfigurationAction::LoadConfiguration, id);
|
||||
true
|
||||
@@ -121,7 +121,7 @@ impl Template for ConfigurationView {
|
||||
)
|
||||
.child(
|
||||
Button::new()
|
||||
.text("save")
|
||||
.text("Save")
|
||||
.style("button_single_content")
|
||||
.attach(Grid::column(2))
|
||||
.attach(Grid::row(0))
|
||||
|
||||
Reference in New Issue
Block a user