Thanks Alan and Peter, Really appreciate your replies. Will try this out tomorrow and see if I can get it to work.
I keep googling things myself...but with my 'beginner' status sometimes struggle to understand the solutions out there....but in tiny steps am making progress! Certainly know a lot more than when I started 4 weeks ago! Thank you so much for your support and time replying....it is very encouraging. - Matthew Polack Matthew Polack | Teacher [image: Emailbanner3.png] Trinity Drive | PO Box 822 Horsham Victoria 3402 p. 03 5382 2529 m. 0402456854 e. matthew.pol...@htlc.vic.edu.au w. www.htlc.vic.edu.au On Wed, Aug 15, 2018 at 8:10 PM, Alan Gauld via Tutor <tutor@python.org> wrote: > On 15/08/18 10:18, Peter Otten wrote: > > Matthew Polack wrote: > > > >> *Question 2:* > >> Is there a way to centre text within the text frame? I can change the > font > >> and size...but don't know how to centre it? > > > > Ok, I wanted to know it myself, and found > > > > https://stackoverflow.com/questions/42560585/how-do-i- > center-text-in-the-tkinter-text-widget > > Well done Peter. I've looked for ways to do this > (and other format tricks) several times and > failed. I never thought of looking at tags though... > > Using the string methods as I suggested relies on > using monospace fonts, and splitting the text > manually into lines of appropriate length - a major > pain. > > This works with proportional fonts and long text too. > So much better. > > Thanks again for your superior google skills :-) > > -- > Alan G > Author of the Learn to Program web site > http://www.alan-g.me.uk/ > http://www.amazon.com/author/alan_gauld > Follow my photo-blog on Flickr at: > http://www.flickr.com/photos/alangauldphotos > > > _______________________________________________ > Tutor maillist - Tutor@python.org > To unsubscribe or change subscription options: > https://mail.python.org/mailman/listinfo/tutor > -- **Disclaimer: *Whilst every attempt has been made to ensure that material contained in this email is free from computer viruses or other defects, the attached files are provided, and may only be used, on the basis that the user assumes all responsibility for use of the material transmitted. This email is intended only for the use of the individual or entity named above and may contain information that is confidential and privileged. If you are not the intended recipient, please note that any dissemination, distribution or copying of this email is strictly prohibited. If you have received this email in error, please notify us immediately by return email or telephone +61 3 5382 2529** and destroy the original message.* _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor