[master] Rework the placement of items on hubs.

David Shea dshea at redhat.com
Thu Oct 30 13:19:37 UTC 2014


On 10/29/2014 09:22 PM, Brian C. Lane wrote:
> 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.
>

That part looks the same to me on the *_orig images, so I think it just 
looks worse because I was using a wide, short screen for the images. 
I'll ask Mo what she thinks first since she seemed kind of surprised 
about the button when I asked about the custom part scrollbar stuff.


More information about the anaconda-patches mailing list