[master] Rework the placement of items on hubs.

Brian C. Lane bcl at redhat.com
Thu Oct 30 01:22:52 UTC 2014


On Wed, Oct 29, 2014 at 01:27:17PM -0400, David Shea wrote:
> On 10/29/2014 01:26 PM, David Shea wrote:
> >We have been using xscale=0.5 on the hub alignment to center and pad
> >items when the alignment's children do not use the entire width of the
> >hub. This has a couple of problems. When the alignment does not need a
> >lot of space, the scrollbar, if shown, is way over to the left instead
> >of all the way on the right side of the screen. If the alignment does
> >need a lot of space, there's no padding so the spokes are pushed all the
> >way against the left sidebar and the right edge of the window.
> >
> >Redo the alignment of the hub GtkAlignment to match the one on the
> >spokes: xalign=0.5, xscale=1.0. Add left and right padding to the
> >alignment to keep things away from the sidebar and the edge of the
> >window.
> >---
> 
> I put some before and after screenshots at
> https://dshea.fedorapeople.org/hubs/

That looks good to me.

Is there anything you can do about the help button? It looks like it has
pushed the labels over to the left, leaving unnecessary blank space
directly above it.

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)


More information about the anaconda-patches mailing list