Fix adding label alongside switch

This commit is contained in:
markochk
2022-02-24 19:02:06 +01:00
parent be2e43fe24
commit f130a1f948

View File

@@ -261,7 +261,7 @@ A label is like a basic line of text
```python
self.label = Gtk.Label(label="A switch")
self.switch_box.append(self.switch)
self.switch_box.append(self.label)
self.switch_box.set_spacing(5) # Add some spacing
```