Extra care was needed for the combo boxes, and the way we currently use GtkStringList is kind of hacky, but overall things seem to be working fine.
42 lines
1.6 KiB
XML
42 lines
1.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<!-- interface-requires gtk+ 3.0 -->
|
|
<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-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>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</template>
|
|
</interface>
|