🔧 Ellipsize profile selection button

This commit is contained in:
Simon Schneegans
2023-02-21 20:04:06 +01:00
parent ce6e6389e4
commit caa29fb9d6
3 changed files with 33 additions and 2 deletions
+16 -1
View File
@@ -18,8 +18,23 @@ SPDX-License-Identifier: GPL-3.0-or-later
<object class="GtkBox" id="profile-button">
<property name="halign">center</property>
<child>
<object class="GtkMenuButton" id="choose-profile-button">
<object class="GtkMenuButton">
<property name="menu-model">profile-menu</property>
<child>
<object class="GtkBox">
<property name="spacing">6</property>
<child>
<object class="GtkLabel" id="choose-profile-button">
<property name="ellipsize">end</property>
</object>
</child>
<child>
<object class="GtkImage">
<property name="icon-name">pan-down-symbolic</property>
</object>
</child>
</object>
</child>
</object>
</child>
<child>
+1
View File
@@ -36,6 +36,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
<child>
<object class="GtkLabel" id="choose-profile-button">
<property name="visible">1</property>
<property name="ellipsize">end</property>
</object>
</child>
<child>
+16 -1
View File
@@ -18,8 +18,23 @@ SPDX-License-Identifier: GPL-3.0-or-later
<object class="GtkBox" id="profile-button">
<property name="halign">center</property>
<child>
<object class="GtkMenuButton" id="choose-profile-button">
<object class="GtkMenuButton">
<property name="menu-model">profile-menu</property>
<child>
<object class="GtkBox">
<property name="spacing">6</property>
<child>
<object class="GtkLabel" id="choose-profile-button">
<property name="ellipsize">end</property>
</object>
</child>
<child>
<object class="GtkImage">
<property name="icon-name">pan-down-symbolic</property>
</object>
</child>
</object>
</child>
</object>
</child>
<child>