Re: Vertical centering an actor



On 5 July 2012 16:08, Jasper St. Pierre <jstpierre mecheye net> wrote:
> On Thu, Jul 5, 2012 at 10:03 AM, Michele <micxgx gmail com> wrote:
>> I'm facing some problems with what seemed to me a trivial thing at
>> first glance. I just want to vertical align an actor to the center of
>> the screen. This actor is added to Main.uiGroup and its size is
>> variable. The actor at issue is the gnome shell dash that I moved out
>> of the overview in the dash-to-dock extension.
>>
>> I've tried  to achieve this result in a lot of different ways but none
>> of them is working properly.
>>
>> 1. Put the actor inside a container like St.Bin and use the y_align
>> property to keep it at middle. This works but the extra void area
>> above and below the child actor steal click events from the window
>> actors. Applying a clip to the actor affects only it's visibility and
>> not such events.
>
> Set the St.Bin's reactivity to false?

This doesn't seem to work unfortunately. If a window is below a non
reactive actor I still can't click it. Should clicks arrive to the
window in such instance?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]