Fix AttributeError: use set_size_request instead of set_width_request
This commit is contained in:
parent
cb57d038f1
commit
4c28020269
@ -65,7 +65,7 @@ class VariableDataRow(Gtk.Box):
|
||||
for env in self.environments:
|
||||
# Create a box to hold the entry (for size group alignment)
|
||||
entry_box = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
|
||||
entry_box.set_width_request(200)
|
||||
entry_box.set_size_request(200, -1)
|
||||
|
||||
entry = Gtk.Entry()
|
||||
entry.set_placeholder_text(env.name)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user