increase max width, add view adw class

This commit is contained in:
yggverse 2024-10-13 10:24:40 +03:00
parent bf58e69817
commit ea0cf161db

View File

@ -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(),
})
}