From 0c35212467f3b0d1aa632a1febb06c09f4b170f1 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sat, 21 Oct 2023 17:45:30 +0200 Subject: FLUID: grid becomes a bit more interactive --- src/Fl_Grid.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Fl_Grid.cxx') 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. -- cgit v1.2.3