sidebar: Set tooltip of room rows
Room names can be large in some circumstances. Usually in dynamic lists like this, where the textual content can be unpredictable, adding a tooltip text is helpful. Add that.
This commit is contained in:
parent
03e0c4f18f
commit
7f5ce14c12
2 changed files with 7 additions and 2 deletions
|
@ -257,8 +257,8 @@ sidebar-row > * {
|
|||
margin-top: 2px;
|
||||
}
|
||||
|
||||
sidebar-row > * {
|
||||
padding: 9px 9px;
|
||||
sidebar-row > * > * {
|
||||
padding: 9px;
|
||||
}
|
||||
|
||||
sidebar-row:focus > * {
|
||||
|
|
|
@ -3,6 +3,11 @@
|
|||
<template class="SidebarRoomRow" parent="ContextMenuBin">
|
||||
<child>
|
||||
<object class="GtkBox">
|
||||
<binding name="tooltip-text">
|
||||
<lookup name="display-name">
|
||||
<lookup name="room">SidebarRoomRow</lookup>
|
||||
</lookup>
|
||||
</binding>
|
||||
<property name="spacing">12</property>
|
||||
<child>
|
||||
<object class="ComponentsAvatar" id="avatar">
|
||||
|
|
Loading…
Reference in a new issue