gnome-control-center/panels/power/cc-power-profile-info-row.ui
Automeris naranja 1b357b2fb4 power-profile-info-row: Set natural-wrap-mode to none
This fixes title_label appearing awkwardly truncated when
the the text is long (a lot of whitespace is shown at the
right of the row).

Closes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2240
2024-03-12 22:17:17 +00:00

42 lines
1.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="CcPowerProfileInfoRow" parent="GtkListBoxRow">
<property name="activatable">False</property>
<property name="selectable">False</property>
<child>
<object class="GtkBox">
<property name="orientation">horizontal</property>
<property name="margin-start">4</property>
<property name="margin-end">8</property>
<property name="margin-top">8</property>
<property name="margin-bottom">8</property>
<property name="spacing">4</property>
<child>
<object class="GtkImage" id="icon_image">
<property name="margin-start">6</property>
<property name="margin-end">6</property>
<property name="icon-name">info-outline-symbolic</property>
<property name="icon-size">large</property>
<style>
<class name="dim-label"/>
</style>
</object>
</child>
<child>
<object class="GtkLabel" id="title_label">
<property name="halign">start</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<property name="use-markup">True</property>
<property name="use-underline">True</property>
<property name="xalign">0</property>
<property name="yalign">0.5</property>
<property name="margin-end">6</property>
<property name="wrap">True</property>
<property name="natural-wrap-mode">none</property>
</object>
</child>
</object>
</child>
</template>
</interface>