mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
init TextView as the single-line entry
This commit is contained in:
parent
33c7cc5926
commit
812553af49
2 changed files with 2 additions and 1 deletions
|
|
@ -36,9 +36,9 @@ impl Form for TextView {
|
|||
.css_classes(["frame", "view"])
|
||||
.extra_menu(&adapter.menu_model())
|
||||
.left_margin(MARGIN)
|
||||
.margin_bottom(MARGIN / 4)
|
||||
.right_margin(MARGIN)
|
||||
.top_margin(MARGIN)
|
||||
.valign(gtk::Align::BaselineCenter)
|
||||
.wrap_mode(WrapMode::Word)
|
||||
.build();
|
||||
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@ impl Form for TextView {
|
|||
.left_margin(MARGIN)
|
||||
.right_margin(MARGIN)
|
||||
.top_margin(MARGIN)
|
||||
.valign(gtk::Align::BaselineCenter)
|
||||
.wrap_mode(WrapMode::Word)
|
||||
.build()
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue