mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
increase max width, add view adw class
This commit is contained in:
parent
bf58e69817
commit
ea0cf161db
1 changed files with 5 additions and 1 deletions
|
|
@ -10,7 +10,11 @@ impl Widget {
|
|||
// Construct
|
||||
pub fn new_arc(child: &TextView) -> Arc<Self> {
|
||||
Arc::new(Self {
|
||||
gobject: ClampScrollable::builder().child(child).build(),
|
||||
gobject: ClampScrollable::builder()
|
||||
.child(child)
|
||||
.css_classes(["view"])
|
||||
.maximum_size(840)
|
||||
.build(),
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue