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