gnome-control-center/panels/info-overview/cc-info-entry.ui
Cyber Phantom f00643730e info-overview: Introduce CcInfoEntry
As of right now, we're using CcListRow to present information in the about section which is derived from AdwActionRow.
ActionRows have a certain style to them which doesn't match what the new mockup is going for.

This widget is made to closely match the requirements of the new design and will be used to replace CcListRow.
Methods to create a new InfoEntry as well as set value for a InfoEntry have also been provided.
2023-07-17 09:25:26 +00:00

31 lines
885 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="CcInfoEntry" parent="GtkBox">
<property name="orientation">horizontal</property>
<property name="margin-top">6</property>
<property name="margin-bottom">6</property>
<!-- Prop -->
<child>
<object class="GtkLabel" id="prop">
<property name="halign">start</property>
<property name="hexpand">true</property>
<property name="margin-end">12</property>
</object>
</child>
<!-- Value -->
<child>
<object class="GtkLabel" id="value">
<property name="halign">end</property>
<property name="hexpand">true</property>
<property name="ellipsize">end</property>
<property name="selectable">true</property>
</object>
</child>
<style>
<class name="dim-label"/>
</style>
</template>
</interface>