[Fixes #5819] Fixing column element default size

This commit is contained in:
Sebastien Ros
2015-09-25 15:04:06 -07:00
parent eb9bfa0d29
commit 9137414305

View File

@@ -22,7 +22,7 @@ namespace Orchard.Layouts.Elements {
}
public int? Width {
get { return this.Retrieve<int?>("Width") ?? this.Retrieve<int?>("ColumnSpan") ?? 0; } // Falling back on "ColumnSpan" for backward compatibility.
get { return this.Retrieve<int?>("Width") ?? this.Retrieve<int?>("ColumnSpan") ?? 12; } // Falling back on "ColumnSpan" for backward compatibility.
set { this.Store(x => x.Width, value); }
}