mirror of
https://gitlab.com/schmiddi-on-mobile/flare.git
synced 2026-10-29 15:07:47 -04:00
46 lines
736 B
Plaintext
46 lines
736 B
Plaintext
using Gtk 4.0;
|
|
|
|
template $FlMessageIndicators {
|
|
layout-manager: BoxLayout {
|
|
spacing: 3;
|
|
};
|
|
|
|
halign: end;
|
|
valign: end;
|
|
|
|
Button edited {
|
|
styles [
|
|
"dim-label",
|
|
"caption",
|
|
"flat",
|
|
"no-padding",
|
|
]
|
|
|
|
limit-events: true;
|
|
visible: bind template.edited;
|
|
label: _("Edited");
|
|
clicked => $handle_edited_clicked() swapped;
|
|
}
|
|
|
|
Label message_info_label {
|
|
styles [
|
|
"dim-label",
|
|
"caption",
|
|
"numeric",
|
|
]
|
|
|
|
label: bind template.timestamp;
|
|
}
|
|
|
|
Button sending_state_icon {
|
|
styles [
|
|
"flat",
|
|
"no-padding",
|
|
]
|
|
|
|
limit-events: true;
|
|
visible: bind template.show-sending-state;
|
|
clicked => $handle_sending_state_clicked() swapped;
|
|
}
|
|
}
|