orbtk_widgets: text_box: reorder properties
@@ -95,21 +95,21 @@ impl Template for TextBox {
self.name("TextBox")
.style(STYLE_TEXT_BOX)
- .text("")
- .foreground(colors::LINK_WATER_COLOR)
- .font_size(orbtk_fonts::FONT_SIZE_12)
- .font("Roboto-Regular")
- .selection(TextSelection::default())
- .padding(4.0)
.background(colors::LYNCH_COLOR)
.border_brush("transparent")
.border_width(0.0)
.border_radius(2.0)
- .min_width(128.0)
- .height(32.0)
.focused(false)
+ .font_size(orbtk_fonts::FONT_SIZE_12)
+ .font("Roboto-Regular")
+ .foreground(colors::LINK_WATER_COLOR)
+ .height(32.0)
.lose_focus_on_activation(true)
+ .min_width(128.0)
+ .padding(4.0)
.select_all_on_focus(true)
+ .selection(TextSelection::default())
+ .text("")
.child(text_behavior)
.child(
Container::new()
