Skip to content
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

white text on white background in terminal #35

Open
NicolaasvanderVoort opened this issue Dec 11, 2019 · 4 comments
Open

white text on white background in terminal #35

NicolaasvanderVoort opened this issue Dec 11, 2019 · 4 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@NicolaasvanderVoort
Copy link

Is your feature request related to a problem? Please describe.
Mykola mentioned that you can also script ChiSurf, which is a really powerfull feature.
The commands can be deduced from the input in the terminal window. However the text on the terminal window is white on a white background. i.e. not readable unless selected.

Describe the solution you'd like
Make either the text or the background black,.

Describe alternatives you've considered

Additional context

@tpeulen
Copy link
Member

tpeulen commented Dec 11, 2019

In the new release this issue is already solved. I suppose, that you use an older release.

This is an issue associated with conflict of the used theme. You can either change the theme in the configuration file located in

C:\Program Files (x86)\ChiSurf_170324\mfm\settings\chisurf.json

from to a dark theme by adjusting style from "day" to "night" by changing
which cascading style sheet is used.

    "gui": {
        "style_sheet": "settings/style_sheet_day.css",

modify to

    "gui": {
        "style_sheet": "settings/style_sheet_night.css",

Alternatively, you modify the file

C:\Program Files (x86)\ChiSurf_170324\mfm_gui.py

and remove the use of style sheets.

For that modify

if __name__ == "__main__":
    app = QtGui.QApplication(sys.argv)
    app.setStyleSheet(mfm.style_sheet)

and comment the line where the style sheet is applied.

if __name__ == "__main__":
    app = QtGui.QApplication(sys.argv)
    # app.setStyleSheet(mfm.style_sheet)

@tpeulen tpeulen self-assigned this Dec 11, 2019
@tpeulen tpeulen added bug Something isn't working help wanted Extra attention is needed labels Dec 11, 2019
@NicolaasvanderVoort
Copy link
Author

I'd like to return to this issue now since we discussed it in December.

Currently Chisurf version 17.03.24 shows no command line. How can I unhide the command line?

grafik

I tried downloading the 19 version. but hit a dead link on github.

Thanks for your time!

@tpeulen
Copy link
Member

tpeulen commented Apr 21, 2020

You can change the change in the settings file the CSS style sheet from 'day' (background problem to 'night' as a temporal fix (see https://github.com/Fluorescence-Tools/chisurf/wiki/Settings-file-in-17.03.24). See GUI section.

@NicolaasvanderVoort
Copy link
Author

I found the show_console bool as is written on the wiki. With setting that to true, the console appears in a legible manner.
"show_console": true,
The current theme is 'night' and Chisurf displays the console correctly with that.

grafik

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants