We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3fb014 commit b05f95fCopy full SHA for b05f95f
1 file changed
Botticelli.Controls.Layouts/Inlines/InlineButtonMenu.cs
@@ -10,8 +10,8 @@ public class InlineButtonMenu : ILayout
10
11
public InlineButtonMenu(int rows, int columns)
12
{
13
- if (rows < 1) throw new InvalidDataException("rows count should be > 1!");
14
- if (columns < 1) throw new InvalidDataException("columns count should be > 1!");
+ if (rows < 1) throw new InvalidDataException("rows count should be > 0!");
+ if (columns < 1) throw new InvalidDataException("columns count should be > 0!");
15
16
_rows = rows;
17
_columns = columns;
0 commit comments