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

Re: Forms centered without Me.Center


Probably down to the WM.
Many have options for window placement modes. (tile, cascade, etc)

I should think with some desktop configs it might not center without it but
your WM does it by default.

BruceS


On Sun, 26 Oct 2025 at 12:53, gbWilly <gbWilly@xxxxxxxxxxxxxx> wrote:

> I noticed quite a while ago that when not using Me.Center on a form they
> still do center.
> I wonder when this happened, as all my projects have the Me.Center by
> default, so I did discover this by accident, when not having a Me.Center
> but still seeing the form being centered.
>
> Is this something that got introduced in Gambas itself as a default for
> forms, or is this something certain Desktops have introduced as a default
> for showing windows?
>
> I stumbled onto this question, when discussing the proof reading of a
> Gambas learning Guide. I need to have a proper explanation for the auto
> center phenomena and where its origins are.
>
> So, if anybody knows the answer, please share..
>
>
> gbWilly
>
> GambOS <https://gambos.gambas.one/>
> Gambas3 for Debian/Ubuntu
> <https://gitlab.com/gbWilly/gambas3-debian-repository>
> <https://gambos.gambas.one/>
>
> *...there is always a Catch if things go wrong!*
>
> Sent with Proton Mail <https://proton.me/mail/home> secure email.
>

References:
Forms centered without Me.CentergbWilly <gbWilly@xxxxxxxxxxxxxx>