Skip to content

Commit 4f3307c

Browse files
committed
InputRow: Prevent small items from being put on new lines
1 parent ed927c7 commit 4f3307c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: src/components/input_row.vala

+3
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,9 @@ namespace Fabric.Tenfoot {
103103
}
104104

105105
protected void relayout_for(int width) {
106+
if (!can_expand_widget(_widget)) {
107+
return;
108+
}
106109
if (Fabric.UI.Application.scale_physical_to_logical(width) > narrow_boundary) {
107110
if (responsive_mode != Gtk.Orientation.HORIZONTAL) {
108111
responsive_mode = Gtk.Orientation.HORIZONTAL;

0 commit comments

Comments
 (0)