GNOME Bugzilla – Bug 695471
layout overflow in application view
Last modified: 2013-03-11 12:34:05 UTC
Created attachment 238427 [details] screenshot Looks like a bug to me, but feel free to close if it's not. gnome-ostree current master, gnome-shell git revision ef623cf
(In reply to comment #0) > Created an attachment (id=238427) [details] > screenshot > > Looks like a bug to me, but feel free to close if it's not. This is a bug. Probably caused by the centering patches.
(In reply to comment #1) > This is a bug. > Probably caused by the centering patches. Yes. The dash is now in a separate layer on top of the view selector. This works fine on sufficiently wide monitors, as we end up with enough whitespace left and right of the content, but apparently fails for smaller sizes. The easiest fix is to set horizontal padding that matches the maximum dash width, but it has a drawback: as we take away space from the icon grid even if not necessary, we end up distributing less whitespace when doing the dynamic spacing ...
Created attachment 238439 [details] [review] style: Prevent dash from overlapping content In order to center the view selector, the dash has been moved to a separate layer, which means that it will overlap the app picker and search results if the available width is smaller than the maximum width that the content will request. Fix this by adding enough horizontal padding to account for the width the dash will have at its largest icon size. As mentioned before, I'm not the biggest fan of this approach, but at least it works (so if we fail to come up with something better ...)
We should get this in for 3.8 - that screenshot looks really broken...
Review of attachment 238439 [details] [review]: I am not really a fan of this either but it is better then the current state. We can still replace it with something better later.
Attachment 238439 [details] pushed as 884af3c - style: Prevent dash from overlapping content