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

Re: How to enable dark mode in gambas qt5 application in ubuntu?


On Thu, 13 Jun 2024 at 02:54, Bruce Steers <bsteers4@xxxxxxxxx> wrote:

> You can force it with the env
>
> Env["GB_GUI_DARK_THEME"] = 1
>
> Set before any gui component loads
> but that will "force" dark theme not "detect" it.
>
> Perhaps if you add a "Force dark theme" option to your program to choose?
> But i guess really it's a bug that it's not detected in your case.
>
> Respects
> BruceS
>
>
PS. with latest master gambas Application.DarkTheme is no longer read-only
and can be used to force a darktheme choice.