diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-10-21 17:45:30 +0200 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2023-10-21 17:45:40 +0200 |
| commit | 0c35212467f3b0d1aa632a1febb06c09f4b170f1 (patch) | |
| tree | c56c12e3f9090950ce560f392f5d4228b6de1d2d /src/Fl_Grid.cxx | |
| parent | e18762bff8bb2abfccc5c86086832a19c109c417 (diff) | |
FLUID: grid becomes a bit more interactive
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. |
