robertlugg / easygui

easygui for Python
http://easygui.readthedocs.org/en/master/
BSD 3-Clause "New" or "Revised" License
455 stars 114 forks source link

Enlarging enterbox #164

Open jaycupw opened 4 years ago

jaycupw commented 4 years ago

Win7 - Python 2.7x

Hi, first off - absolutely love easygui!

Have a particular project that has the need for text to be manually entered and stored. I'm able to to use enterbox but it is extremely difficult to "see" what has been entered due to its small size. Is there a way to modify (or other) the text area so more text can be visible?

Thanks in advance!

-- Jakob

zadacka commented 4 years ago

Good question! It should be possible to tweak the font size, but I'm not sure whether this is yet exposed. If you'd like to have a look at the source and describe your findings here ... or to add it as a feature and submit a Pull Request, either would be welcome!

I've been meaning to have a look at this and provide a more fact-based answer but have been pressed for time recently and haven't gotten to it yet. Please do be assured that your question has been heard - and I'd like to thank you for your time and enthusiasm.

jaycupw commented 4 years ago

Hi Alexander,

Thanks for your message and input.

I ended up going through the EG source and eventually found "textbox" which I'm using as a workaround. Sample code:

msg = "Please enter your notes and click OK button below." title = "Enter Notes" text = '' notes_reply = eg.textbox(msg, title, text)

Haven't gone further into controlling window size, text area size, etc, yet.

Thanks, -- Jakob