BaseView: Set minimum width to 360
While the HomeView and ShowView can't yet scale that low, the ShowWidget could get to about 270p already which is not desirable. This commit sets the minimum width of all the Views to 360p, which is our mobile target size.
This commit is contained in:
parent
e633fa41ac
commit
678b0b9db1
@ -13,6 +13,7 @@ impl Default for BaseView {
|
|||||||
let scrolled_window = gtk::ScrolledWindow::new(None, None);
|
let scrolled_window = gtk::ScrolledWindow::new(None, None);
|
||||||
|
|
||||||
scrolled_window.set_policy(PolicyType::Never, PolicyType::Automatic);
|
scrolled_window.set_policy(PolicyType::Never, PolicyType::Automatic);
|
||||||
|
container.set_size_request(360, -1);
|
||||||
container.add(&scrolled_window);
|
container.add(&scrolled_window);
|
||||||
container.show_all();
|
container.show_all();
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user