mirror of
https://github.com/TakeV-Lambda/Tooth.git
synced 2024-11-08 08:41:52 +00:00
8f30b48b88
* poll support * feat: let spoiler button handle poll's spoiler status * fix: change the design to match both mastodon and hig * feat: voted indicator * feat: treat voted as expired Co-authored-by: Evangelos Paterakis <evan@geopjr.dev>
37 lines
1 KiB
XML
37 lines
1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<requires lib="gtk" version="4.0"/>
|
|
<template class="ToothWidgetsVoteBox" parent="GtkBox">
|
|
<property name="margin_top">12</property>
|
|
<property name="orientation">vertical</property>
|
|
<child>
|
|
<object class="GtkListBox" id="pollBox">
|
|
<child>
|
|
<placeholder/>
|
|
</child>
|
|
<style>
|
|
<class name="boxed-list"/>
|
|
</style>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkBox" id="pollActionBox">
|
|
<property name="margin_top">10</property>
|
|
<property name="spacing">12</property>
|
|
<child>
|
|
<object class="GtkButton" id="button_vote">
|
|
<property name="visible">0</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="people_label">
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="expires_label">
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</template>
|
|
</interface>
|