Margins in the Tkinter Text widget

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Alex Bryan

    Margins in the Tkinter Text widget

    Okay, so i am trying to have some sort of formatting going on in a
    textbox, and I need left margins. I see that there are two, one for
    the first line and th other for every line but that line. My program
    gives a word and a list of definitions for the word. So my question is
    how can I make the it repeat itself. Like I want to have something
    formatted like this:

    word:
    definiton1
    definition2

    word2:
    defintion12
    definition22

    and so on. So I don't really understand how to keep like redoing the
    margins I guess. Would love some help!
Working...