gtk2/gtk/ui/gtktooltipwindow.ui
Matthias Clasen 5caecf16ac tooltip: Prevent too-wide tooltip windows
Set the label to expand, so it actually fills
the width that we allocated for it, instead
of shrinking back to the minimum width for
its height.

Fixes: #5521
2023-03-01 01:05:45 +02:00

25 lines
708 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">
<child>
<object class="GtkImage" id="image">
<property name="icon-name">image-missing</property>
</object>
</child>
<child>
<object class="GtkLabel" id="label">
<property name="hexpand">1</property>
<property name="wrap">1</property>
<property name="max-width-chars">50</property>
</object>
</child>
</object>
</child>
</template>
</interface>