Fix AttributeError: use set_size_request instead of set_width_request

This commit is contained in:
Pavel Baksy 2025-12-31 00:09:34 +01:00
parent cb57d038f1
commit 4c28020269

View File

@ -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)