Question: So I have so far a simple python tkinter window and i'm adding text, buttons, etc.

snippet:

```
class Cfrm(Frame):

    def createWidgets(self):

        self.text = Text(self, width=50, height=10)
        self.text.insert('1.0', 'some text will be here')
        self.text.tag_configure('big', font=('Verdana', 24, 'bold'))

        self.text["state"] = "disabled"
        self.text.grid(row=0, column=1)

        self.quitw = Button(self)
        self.quitw["text"] = "exit",
        self.quitw["command"] = self.quit
        self.quitw.grid(row=1, column=1)

    def __init__(self, master=None):
        Frame.__init__(self, master)
        self.pack()
        self.createWidgets()

```

the problem is, I want to have about a 15-20 px margin around the window, I looked everywhere, and I couldn't find a solution. Also 

```
self.text.tag_configure('big', font=('Verdana', 24, 'bold'))

```

doesn't work. Any possible solutions?

Answer: 
Ok, here is the solution I found for question 1:

```
self.grid(padx=20, pady=20)

```

Removing `.text` seems to change the whole frame. I still haven't solved problem 2.
A quick way to do it is adjust your relief style to flat, then you only have to adjust your border width. 

```
self.Border = Tkinter.Frame(self, relief='flat', borderwidth=4)

```