2741bf21ae
Use Adw.Window as main window widget, add the now missing HeaderBars to MainWindowPlaceholder and MainWindow in the NoCSD case.
74 lines
3.1 KiB
XML
74 lines
3.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<requires lib="gtk" version="4.0"/>
|
|
<template class="DinoUiMainWindowPlaceholder">
|
|
<property name="valign">fill</property>
|
|
<child>
|
|
<object class="GtkBox" id="box">
|
|
<property name="orientation">vertical</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>
|
|
<property name="pixel-size">144</property>
|
|
<property name="margin-start">30</property>
|
|
<property name="margin-end">30</property>
|
|
<property name="margin-top">30</property>
|
|
<property name="margin-bottom">30</property>
|
|
<style>
|
|
<class name="dim-label"/>
|
|
</style>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="title_label">
|
|
<property name="visible">0</property>
|
|
<style>
|
|
<class name="dim-label"/>
|
|
</style>
|
|
<attributes>
|
|
<attribute name="scale" value="1.3"></attribute>
|
|
</attributes>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="label">
|
|
<property name="margin-top">5</property>
|
|
<style>
|
|
<class name="dim-label"/>
|
|
</style>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="primary_button">
|
|
<property name="margin-top">15</property>
|
|
<property name="halign">center</property>
|
|
<style>
|
|
<class name="text-button"/>
|
|
<class name="suggested-action"/>
|
|
</style>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="secondary_button">
|
|
<property name="visible">0</property>
|
|
<property name="halign">center</property>
|
|
<!-- <property name="no_show_all">True</property>-->
|
|
<style>
|
|
<class name="text-button"/>
|
|
</style>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</template>
|
|
</interface>
|