Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/rdbende/Azure-ttk-theme int…
Browse files Browse the repository at this point in the history
…o main
  • Loading branch information
rdbende committed Jun 19, 2021
2 parents 2fce9f0 + a9f64f1 commit 05ecc0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ switch = ttk.Checkbutton(root, text='Switch', style='Switch', variable=var)
```
If you don't like the big circle on the scale, you prefer something more solid, then use the `TickScale` style:
```python
switch = ttk.Scale(root, style='TickScale', variable=var)
scale = ttk.Scale(root, style='TickScale', variable=var)
```
If you only want a border around your widgets, not an entire LabelFrame then apply the `Card` style to a Frame:
```python
switch = ttk.Frame(root, style='Card', padding=(5, 6, 7, 8))
card = ttk.Frame(root, style='Card', padding=(5, 6, 7, 8))
```

## A short example
Expand Down

0 comments on commit 05ecc0a

Please sign in to comment.