aboutsummaryrefslogtreecommitdiff
path: root/main/data/unified_window_placeholder.ui
diff options
context:
space:
mode:
authorTeemu Ikonen <tpikonen@mailbox.org>2022-09-12 17:07:14 +0300
committerMarvin W <git@larma.de>2023-01-24 19:20:42 +0100
commit2741bf21ae6d53324a512dacef65d540be840fe4 (patch)
tree101504fd5cc5b1ec3390270f5e9b693c62057270 /main/data/unified_window_placeholder.ui
parent1ef42b47d22d21600ccf1e2d8b4d80605448660d (diff)
downloaddino-2741bf21ae6d53324a512dacef65d540be840fe4.tar.gz
dino-2741bf21ae6d53324a512dacef65d540be840fe4.zip
Convert main window layout to 2 vertical boxes
Use Adw.Window as main window widget, add the now missing HeaderBars to MainWindowPlaceholder and MainWindow in the NoCSD case.
Diffstat (limited to 'main/data/unified_window_placeholder.ui')
-rw-r--r--main/data/unified_window_placeholder.ui12
1 files changed, 9 insertions, 3 deletions
diff --git a/main/data/unified_window_placeholder.ui b/main/data/unified_window_placeholder.ui
index 997d7220..91958077 100644
--- a/main/data/unified_window_placeholder.ui
+++ b/main/data/unified_window_placeholder.ui
@@ -2,13 +2,19 @@
<interface>
<requires lib="gtk" version="4.0"/>
<template class="DinoUiMainWindowPlaceholder">
- <property name="valign">center</property>
+ <property name="valign">fill</property>
<child>
<object class="GtkBox" id="box">
<property name="orientation">vertical</property>
- <property name="valign">center</property>
- <property name="halign">center</property>
+ <property name="valign">fill</property>
+ <property name="halign">fill</property>
<property name="hexpand">1</property>
+ <property name="vexpand">1</property>
+ <child>
+ <object class="GtkHeaderBar">
+ <property name="show-title-buttons">true</property>
+ </object>
+ </child>
<child>
<object class="GtkImage">
<property name="icon-name">im.dino.Dino-symbolic</property>