gtk2/gtk/ui/gtktooltipwindow.ui
Matthias Clasen 1927a8af71 tooltips: Fix a line wrap mishap
We don't want wrapping labels to cause tooltips to
have excessive height, so we need to set a reasonable
value for width-chars, without forcing short tooltips
into a full line length. Also be careful to respect
preexisting line breaks (we have such examples in
widget factory).
2020-05-27 19:01:46 -04:00

28 lines
846 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface domain="gtk40">
<template class="GtkTooltipWindow" parent="GtkWidget">
<style>
<class name="background"/>
</style>
<child>
<object class="GtkBox" id="box">
<property name="spacing">6</property>
<property name="margin-top">6</property>
<property name="margin-bottom">6</property>
<property name="margin-start">6</property>
<property name="margin-end">6</property>
<child>
<object class="GtkImage" id="image">
<property name="icon-name">image-missing</property>
</object>
</child>
<child>
<object class="GtkLabel" id="label">
<property name="wrap">1</property>
</object>
</child>
</object>
</child>
</template>
</interface>