Improve button layout and increase dialog width
This commit is contained in:
parent
32fda61894
commit
3268b8026d
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
<template class="EnvironmentsDialog" parent="AdwDialog">
|
<template class="EnvironmentsDialog" parent="AdwDialog">
|
||||||
<property name="title">Manage Environments</property>
|
<property name="title">Manage Environments</property>
|
||||||
<property name="content-width">900</property>
|
<property name="content-width">1100</property>
|
||||||
<property name="content-height">600</property>
|
<property name="content-height">600</property>
|
||||||
<property name="follows-content-size">false</property>
|
<property name="follows-content-size">false</property>
|
||||||
|
|
||||||
|
|||||||
@ -21,62 +21,62 @@
|
|||||||
<property name="hexpand">True</property>
|
<property name="hexpand">True</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
|
||||||
<!-- Inline edit buttons (shown only when editing) -->
|
<!-- Inline edit buttons (shown only when editing) -->
|
||||||
|
<child>
|
||||||
|
<object class="GtkRevealer" id="edit_buttons_revealer">
|
||||||
|
<property name="transition-type">slide-left</property>
|
||||||
|
<property name="reveal-child">False</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkRevealer" id="edit_buttons_revealer">
|
<object class="GtkBox">
|
||||||
<property name="transition-type">slide-left</property>
|
<property name="spacing">3</property>
|
||||||
<property name="reveal-child">False</property>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkBox">
|
<object class="GtkButton" id="cancel_button">
|
||||||
<property name="spacing">3</property>
|
<property name="icon-name">process-stop-symbolic</property>
|
||||||
<child>
|
<property name="tooltip-text">Cancel editing</property>
|
||||||
<object class="GtkButton" id="cancel_button">
|
<signal name="clicked" handler="on_cancel_clicked"/>
|
||||||
<property name="icon-name">process-stop-symbolic</property>
|
<style>
|
||||||
<property name="tooltip-text">Cancel editing</property>
|
<class name="flat"/>
|
||||||
<signal name="clicked" handler="on_cancel_clicked"/>
|
</style>
|
||||||
<style>
|
</object>
|
||||||
<class name="flat"/>
|
</child>
|
||||||
</style>
|
<child>
|
||||||
</object>
|
<object class="GtkButton" id="save_button">
|
||||||
</child>
|
<property name="icon-name">object-select-symbolic</property>
|
||||||
<child>
|
<property name="tooltip-text">Save changes</property>
|
||||||
<object class="GtkButton" id="save_button">
|
<signal name="clicked" handler="on_save_clicked"/>
|
||||||
<property name="icon-name">object-select-symbolic</property>
|
<style>
|
||||||
<property name="tooltip-text">Save changes</property>
|
<class name="flat"/>
|
||||||
<signal name="clicked" handler="on_save_clicked"/>
|
<class name="suggested-action"/>
|
||||||
<style>
|
</style>
|
||||||
<class name="flat"/>
|
|
||||||
<class name="suggested-action"/>
|
|
||||||
</style>
|
|
||||||
</object>
|
|
||||||
</child>
|
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkToggleButton" id="sensitive_toggle">
|
<object class="GtkToggleButton" id="sensitive_toggle">
|
||||||
<property name="icon-name">changes-allow-symbolic</property>
|
<property name="icon-name">changes-allow-symbolic</property>
|
||||||
<property name="tooltip-text">Mark as sensitive (store in keyring)</property>
|
<property name="tooltip-text">Mark as sensitive (store in keyring)</property>
|
||||||
<signal name="toggled" handler="on_sensitive_toggled"/>
|
<signal name="toggled" handler="on_sensitive_toggled"/>
|
||||||
<style>
|
<style>
|
||||||
<class name="flat"/>
|
<class name="flat"/>
|
||||||
</style>
|
</style>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkButton" id="delete_button">
|
<object class="GtkButton" id="delete_button">
|
||||||
<property name="icon-name">edit-delete-symbolic</property>
|
<property name="icon-name">edit-delete-symbolic</property>
|
||||||
<property name="tooltip-text">Delete variable</property>
|
<property name="tooltip-text">Delete variable</property>
|
||||||
<signal name="clicked" handler="on_delete_clicked"/>
|
<signal name="clicked" handler="on_delete_clicked"/>
|
||||||
<style>
|
<style>
|
||||||
<class name="flat"/>
|
<class name="flat"/>
|
||||||
</style>
|
</style>
|
||||||
</object>
|
|
||||||
</child>
|
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user