You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gooey is a great help for me to deploy code to non-programmers, but some people have their OS in dark mode. Gooey picks up the dark mode in some widgets, but not in all, so I would like to prescribe the font and background color of every part of a Gooey application, but the program title and program description cannot be changed.
OS: Debian 11
Python version: 3.8.8
Gooey version: 1.0.8.1
Problem description: I have noticed that when my OS (Debian 11) is in dark mode, some of the widgets adopt the dark theme and some don't, making the application look very strange. So I tried to prescribe the font and background color of all widgets, which worked fine. For the program title and description, however, I have found no way to alter the font color. If it is possible and I just have not found the way how to do it, it would be nice to add this to the documentation. Please find some example code below
Expected behavior: Either (a) the program title color can be prescribed or (b) if this is not possible, at least the program title does not change depending on the user's OS settings.
Actual behavior: I have not found a way to prescribe the color and when I change gnome-tweaks -- appearance -- themes -- applications from Adwaita to Adwaita-dark, the title color changes from black to white.
Code example:
import gooey
@gooey.Gooey(
header_color = '#ff0000', # tried, but has no effect
header_font_color = '#ff0000', # tried, but has no effect
header_bg_color = '#0000ff', # this works fine
)
def main():
parser = gooey.GooeyParser(description='Some test parser')
parser.add_argument('input_filename', type=str, widget='FileChooser')
args = parser.parse_args()
if __name__ == "__main__":
main()
Appearance with Adwaita
Appearance with Adwaita-dark
Thank you and best regards
Paul Seibert
The text was updated successfully, but these errors were encountered:
Hello,
Gooey is a great help for me to deploy code to non-programmers, but some people have their OS in dark mode. Gooey picks up the dark mode in some widgets, but not in all, so I would like to prescribe the font and background color of every part of a Gooey application, but the program title and program description cannot be changed.
Thank you and best regards
Paul Seibert
The text was updated successfully, but these errors were encountered: