Files
federated-calendar/src/gui/views/gcal-month-cell.ui
T
Georges Basile Stavracas Neto dabbc597d9 month-cell: Show month name on the 1st day
This helps differentiate when the month change happens.
2023-08-16 21:21:47 -03:00

76 lines
2.5 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="GcalMonthCell" parent="AdwBin">
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<property name="focusable">True</property>
<child>
<object class="GtkOverlay" id="overlay">
<child type="overlay">
<object class="GtkBox" id="header_box">
<property name="valign">start</property>
<property name="spacing">6</property>
<property name="margin-top">6</property>
<property name="margin-bottom">6</property>
<property name="margin-start">6</property>
<property name="margin-end">6</property>
<child>
<object class="GtkLabel" id="day_label">
<style>
<class name="day-label" />
<class name="numeric" />
</style>
</object>
</child>
<child>
<object class="GtkLabel" id="month_name_label" />
</child>
<!-- Weather forecast -->
<child>
<object class="GtkImage" id="weather_icon">
<property name="pixel_size">16</property>
<property name="margin-start">12</property>
<style>
<class name="dim-label" />
</style>
</object>
</child>
<child>
<object class="GtkLabel" id="temp_label">
<style>
<class name="dim-label" />
<class name="temp-label" />
</style>
</object>
</child>
</object>
</child>
<child type="overlay">
<object class="GtkButton" id="overflow_button">
<property name="valign">end</property>
<property name="sensitive">False</property>
<signal name="clicked" handler="overflow_button_clicked_cb" object="GcalMonthCell" swapped="no" />
<style>
<class name="flat" />
</style>
<child>
<object class="GtkBox">
<child>
<object class="GtkInscription" id="overflow_inscription">
<property name="text-overflow">ellipsize-end</property>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
</template>
</interface>