Move Add Variable button to bottom of variable column and change edit icon

This commit is contained in:
vesp 2025-12-31 00:21:38 +01:00
parent b51fa12f6a
commit e39715f5c0
2 changed files with 36 additions and 13 deletions

View File

@ -50,18 +50,6 @@
</object>
</child>
<child>
<object class="GtkButton" id="add_variable_button">
<property name="label">Add Variable</property>
<property name="icon-name">list-add-symbolic</property>
<property name="tooltip-text">Add variable</property>
<signal name="clicked" handler="on_add_variable_clicked"/>
<style>
<class name="flat"/>
</style>
</object>
</child>
<child>
<object class="GtkButton" id="add_environment_button">
<property name="label">Add Environment</property>
@ -89,6 +77,41 @@
</child>
</object>
</child>
<!-- Add Variable Button at Bottom -->
<child>
<object class="GtkBox">
<property name="orientation">horizontal</property>
<property name="spacing">12</property>
<property name="margin-start">12</property>
<property name="margin-top">6</property>
<child>
<object class="GtkBox">
<property name="orientation">horizontal</property>
<property name="width-request">150</property>
<child>
<object class="GtkButton" id="add_variable_button">
<property name="icon-name">list-add-symbolic</property>
<property name="tooltip-text">Add variable</property>
<signal name="clicked" handler="on_add_variable_clicked"/>
<style>
<class name="flat"/>
<class name="circular"/>
</style>
</object>
</child>
</object>
</child>
<child>
<object class="GtkBox">
<property name="hexpand">True</property>
</object>
</child>
</object>
</child>
</object>
</child>
</object>

View File

@ -25,7 +25,7 @@
<child>
<object class="GtkButton" id="edit_button">
<property name="icon-name">document-edit-symbolic</property>
<property name="icon-name">edit-symbolic</property>
<property name="tooltip-text">Edit environment</property>
<signal name="clicked" handler="on_edit_clicked"/>
<style>