mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-15 17:20:08 +00:00
increase max width, add view adw class
This commit is contained in:
parent
bf58e69817
commit
ea0cf161db
@ -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…
x
Reference in New Issue
Block a user