fractal/data/resources/ui/user-entry-row.ui
Julian Sparber 9bf216a854 account-settings: Add device list
This allows also the remove devices
2021-09-24 13:15:29 +02:00

74 lines
2.7 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="UserEntryRow" parent="AdwBin">
<child>
<object class="GtkBox">
<property name="spacing">10</property>
<child>
<object class="AvatarWithSelection" id="account_avatar">
<property name="size">40</property>
<binding name="item">
<lookup name="avatar" type="User">
<lookup name="user" type="Session">
<lookup name="child" type="GtkStackPage">
<lookup name="session-page">UserEntryRow</lookup>
</lookup>
</lookup>
</lookup>
</binding>
</object>
</child>
<child>
<object class="GtkBox">
<property name="spacing">3</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkLabel" id="display_name">
<property name="xalign">0.0</property>
<binding name="label">
<lookup name="display-name" type="User">
<lookup name="user" type="Session">
<lookup name="child" type="GtkStackPage">
<lookup name="session-page">UserEntryRow</lookup>
</lookup>
</lookup>
</lookup>
</binding>
</object>
</child>
<child>
<object class="GtkLabel" id="user_id">
<property name="xalign">0.0</property>
<binding name="label">
<lookup name="user-id" type="User">
<lookup name="user" type="Session">
<lookup name="child" type="GtkStackPage">
<lookup name="session-page">UserEntryRow</lookup>
</lookup>
</lookup>
</lookup>
</binding>
<style>
<class name="dim-label"/>
<class name="user-id"/>
</style>
</object>
</child>
</object>
</child>
<child>
<object class="GtkButton">
<property name="icon-name">applications-system-symbolic</property>
<property name="action-name">user-entry-row.open-account-settings</property>
<property name="valign">center</property>
<property name="halign">center</property>
<style>
<class name="circular"/>
</style>
</object>
</child>
</object>
</child>
</template>
</interface>