bigger windows by default

This commit is contained in:
Bilal Elmoussaoui 2021-01-31 20:37:51 +01:00
parent 3ab07c5ff9
commit 0b01f4687b
4 changed files with 19 additions and 6 deletions

View file

@ -19,8 +19,8 @@
</object> </object>
<template parent="AdwWindow" class="AccountAddDialog"> <template parent="AdwWindow" class="AccountAddDialog">
<property name="modal">True</property> <property name="modal">True</property>
<property name="default-width">680</property> <property name="default-width">820</property>
<property name="default-height">550</property> <property name="default-height">760</property>
<property name="title" translatable="yes">Add a new account</property> <property name="title" translatable="yes">Add a new account</property>
<child> <child>
<object class="AdwLeaflet" id="deck"> <object class="AdwLeaflet" id="deck">

View file

@ -7,8 +7,8 @@
<property name="page-increment">10</property> <property name="page-increment">10</property>
</object> </object>
<template class="PreferencesWindow" parent="AdwPreferencesWindow"> <template class="PreferencesWindow" parent="AdwPreferencesWindow">
<property name="default-width">680</property> <property name="default-width">820</property>
<property name="default-height">550</property> <property name="default-height">760</property>
<property name="can-swipe-back">True</property> <property name="can-swipe-back">True</property>
<child> <child>
<object class="AdwPreferencesPage"> <object class="AdwPreferencesPage">

View file

@ -239,6 +239,19 @@
</child> </child>
</object> </object>
</child> </child>
<child>
<object class="GtkButton" id="delete_button">
<property name="label" translatable="yes">_Delete</property>
<property name="use-underline">True</property>
<property name="action-name">providers.delete</property>
<property name="halign">end</property>
<style>
<class name="large-button" />
<class name="pill-button" />
<class name="destructive-action" />
</style>
</object>
</child>
</object> </object>
</child> </child>
</object> </object>

View file

@ -3,8 +3,8 @@
<template parent="AdwWindow" class="ProvidersDialog"> <template parent="AdwWindow" class="ProvidersDialog">
<property name="modal">True</property> <property name="modal">True</property>
<property name="title" translatable="yes">Providers</property> <property name="title" translatable="yes">Providers</property>
<property name="default-width">680</property> <property name="default-width">820</property>
<property name="default-height">550</property> <property name="default-height">760</property>
<child> <child>
<object class="AdwLeaflet" id="deck"> <object class="AdwLeaflet" id="deck">
<property name="can-unfold">False</property> <property name="can-unfold">False</property>