diff options
Diffstat (limited to 'src/Fl_Grid.cxx')
| -rw-r--r-- | src/Fl_Grid.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Fl_Grid.cxx b/src/Fl_Grid.cxx index da9c34ebc..3928b52a1 100644 --- a/src/Fl_Grid.cxx +++ b/src/Fl_Grid.cxx @@ -1030,6 +1030,10 @@ void Fl_Grid::row_height(int row, int value) { need_layout(1); } +int Fl_Grid::row_height(int row) const { + if (row >= 0 && row < rows_) return Rows_[row].minh_; +} + /** Set the minimal row height of more than one row. |
