[Design] dialog.CenterOnSCreen() ?
Brian Kirsch
bkirsch at osafoundation.org
Wed Feb 14 11:09:24 PST 2007
On Feb 13, 2007, at 4:33 PM, Heikki Toivonen wrote:
> Brian Kirsch wrote:
>> The dialogs launched from the account preferences window need to be
>> centered on
>> the parent.
>>
>> So in this case, the CenterOnScreen calls can be changed to
>> CenterOnParent.
>>
>> For these specific dialogs placement on screen is part of the work
>> flow
>> and thus centering is required.
>
> Did you check that it does not center on parent automatically in that
> case?
Nope each dialog calls self.CenterOnScreen().
> Also, as soon as we center, we hit the problem that if two windows
> we center come up at once, one is going to be hidden by the other.
>
That would never happen as no two dialogs can be up at the same time
by the design of the AccountPreferences code.
-Brian
> --
> Heikki Toivonen
>
>
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> Open Source Applications Foundation "Design" mailing list
> http://lists.osafoundation.org/mailman/listinfo/design
More information about the Design
mailing list