[libhandy] preferences-window: Set a default size and a minimum width
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libhandy] preferences-window: Set a default size and a minimum width
- Date: Thu, 6 Aug 2020 19:41:51 +0000 (UTC)
commit 6628085c2dfcbd173df6597eea86782476ab8237
Author: Adrien Plazas <kekun plazas laposte net>
Date: Thu Jul 23 11:38:41 2020 +0200
preferences-window: Set a default size and a minimum width
This avoids apps to do so to have something decent looking, and they can
still override it if they want to.
src/hdy-preferences-window.ui | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/src/hdy-preferences-window.ui b/src/hdy-preferences-window.ui
index 46085219..5f764fc9 100644
--- a/src/hdy-preferences-window.ui
+++ b/src/hdy-preferences-window.ui
@@ -8,11 +8,14 @@
<property name="icon_name">gtk-preferences</property>
<property name="title" translatable="yes">Preferences</property>
<property name="type_hint">dialog</property>
+ <property name="default-width">640</property>
+ <property name="default-height">576</property>
<signal name="key-press-event" handler="key_press_event_cb" after="yes" swapped="no"/>
<child>
<object class="HdyDeck" id="subpages_deck">
<property name="can-swipe-back" bind-source="HdyPreferencesWindow" bind-property="can-swipe-back"
bind-flags="sync-create"/>
<property name="visible">True</property>
+ <property name="width-request">360</property>
<signal name="notify::transition-running" handler="subpages_deck_transition_running_cb"
swapped="yes"/>
<signal name="notify::visible-child" handler="subpages_deck_visible_child_cb" swapped="yes"/>
<child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]