Skip to content

Adding a preference menu for changing font size #7

Open
Wirdal wants to merge 4 commits into
matloff:masterfrom
Wirdal:master
Open

Adding a preference menu for changing font size #7
Wirdal wants to merge 4 commits into
matloff:masterfrom
Wirdal:master

Conversation

@Wirdal

@Wirdal Wirdal commented Feb 15, 2019

Copy link
Copy Markdown

I added options to change the font size for the answer and question boxes. I also cleaned up some of the commenting and spacing in the widgets function.

The sizes I added are 8-20, incremented by 2.

I was going to add options as well to change some of the coloring, as well as save the students email between quizzes, but I would see how this went over.

I have tested it by doing a dry run and it looks OK on my end, but I would appreciate a test yourself.

@matloff

matloff commented Feb 15, 2019 via email

Copy link
Copy Markdown
Owner

@Wirdal

Wirdal commented Feb 15, 2019

Copy link
Copy Markdown
Author

That works, I will work a bit more on some preferences, and preference saving.

@Wirdal

Wirdal commented Feb 22, 2019

Copy link
Copy Markdown
Author

I've added support for a configuration file to save the users email and font selection through runs of the program.

I added a library, ConfigParser, to help with the .ini file that is also added.

I think a function could be added that updates the config files, but I didn't want to make that many changes, so it is done in-line for now.

Let me know what you think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants