summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2023-10-21 17:45:30 +0200
committerMatthias Melcher <github@matthiasm.com>2023-10-21 17:45:40 +0200
commit0c35212467f3b0d1aa632a1febb06c09f4b170f1 (patch)
treec56c12e3f9090950ce560f392f5d4228b6de1d2d /src
parente18762bff8bb2abfccc5c86086832a19c109c417 (diff)
FLUID: grid becomes a bit more interactive
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Grid.cxx4
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.