gtk2/gtk/ui/gtkmessagedialog.ui
Matthias Clasen 1e3ec7c1f9 message dialog: Stop hardcoding title styles
Instead, use a new title style class to let
themes influence title formatting. Note that
the theme style will be overridden if the
application uses markup for presentation,
such as <b> or <i>.
2019-06-13 16:29:29 +00:00

54 lines
2.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface domain="gtk40">
<template class="GtkMessageDialog" parent="GtkDialog">
<property name="title"></property>
<property name="resizable">0</property>
<property name="type-hint">dialog</property>
<child internal-child="headerbar">
<object class="GtkHeaderBar" id="headerbar1"/>
</child>
<child internal-child="content_area">
<object class="GtkBox" id="dialog-vbox1">
<property name="orientation">vertical</property>
<property name="spacing">20</property>
<child>
<object class="GtkBox" id="box">
<property name="margin-start">30</property>
<property name="margin-end">30</property>
<property name="spacing">30</property>
<child>
<object class="GtkBox" id="message_area">
<property name="orientation">vertical</property>
<property name="spacing">10</property>
<property name="hexpand">1</property>
<child>
<object class="GtkLabel" id="label">
<property name="halign">center</property>
<property name="valign">start</property>
<property name="wrap">1</property>
<property name="max-width-chars">60</property>
<style>
<class name="title"/>
</style>
</object>
</child>
<child>
<object class="GtkLabel" id="secondary_label">
<property name="visible">0</property>
<property name="margin-bottom">2</property>
<property name="halign">center</property>
<property name="valign">start</property>
<property name="vexpand">1</property>
<property name="wrap">1</property>
<property name="max-width-chars">60</property>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
</template>
</interface>