-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix dark theme (updated) #187
Conversation
@milahu could you please review? |
throws
|
I assume you're on The branch This further highlights the hackyness of resolving option types from their type string. Fortunately there is an issue to fix this. The new type system will not rely on parsing type strings, rather it will extract them in |
yepp, i have pinned nixpkgs in
throws
are you still using |
Yes, we're still using The error is probably due to Could you please clarify whether you defined an option using |
I managed to reproduce your error and then fix it in 426925b Please try |
better : )
output
|
Thanks for reproducing and sharing a screenshot! It's a bit concerning that the unselected text is dark. Perhaps fixing that should be a separate issue? I think it's in a much better state for merging, but I'm not sure why the text is black. Do you get the same result for Regarding your errorI get the error too and I don't have a flakes based Could you elaborate on what is causing the issue and how it may be fixed? Regarding reproducing dark mode,I'm not sure pyqt5 has Adwaita, I can't find it anyways.
And when I try to set the environment variable
Perhaps you already had |
dark theme
yepp ... on xfce desktop,
cant get it working on xfce desktop : / on plasma desktop,
qt5 theme can be configured with
i hope one of these works for you ; ) other pyqt5 appsideally, nix-gui should just use the system theme for example convertall (nixpkgs)
|
Yes, we should change Nix-Gui to get New issues:
That is probably because the result was cached so logs weren't reproduced. #148 You can run again with diskcache off ( ThemesTrying your suggestions. |
same error. text color flips between black and white by random |
#205 just documents the smoke testing instructions. I tried with a table first for this PR but that doesn't work cleanly because we can't select and edit the entire row. I think the delegate model is a better match and I'd rather try fixing the text rendering there. The branch |
fixed : ) |
Built on top of #172
Fixes #141
Changes:
QListWidgetItem
s,QGroupBox
's, and buttons doesn't work well with dark themes.QStyledItemDelegate
to createOptionListItemDelegate
which handles rendering of both editable and uneditable navlist items. This delegate allows the placement of icons, status circles, text, and extra text.