summaryrefslogtreecommitdiff
path: root/FL/Fl_File_Browser.H
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2023-11-25 18:20:02 +0100
committerMatthias Melcher <github@matthiasm.com>2023-11-25 18:20:08 +0100
commit34ed30fe1a710f6294e23003aa385bd6da6cb326 (patch)
tree4fb8628a64a3c2943b23a9f7646206cb38bba69a /FL/Fl_File_Browser.H
parent00808500926af83a531fc1fdc0b2df9716743e8b (diff)
Adds `linespacing()` to `Fl_Browser_` and all derived widgets
Diffstat (limited to 'FL/Fl_File_Browser.H')
-rw-r--r--FL/Fl_File_Browser.H2
1 files changed, 1 insertions, 1 deletions
diff --git a/FL/Fl_File_Browser.H b/FL/Fl_File_Browser.H
index 101add4de..620315c17 100644
--- a/FL/Fl_File_Browser.H
+++ b/FL/Fl_File_Browser.H
@@ -46,7 +46,7 @@ class FL_EXPORT Fl_File_Browser : public Fl_Browser {
int item_height(void *) const FL_OVERRIDE;
int item_width(void *) const FL_OVERRIDE;
void item_draw(void *, int, int, int, int) const FL_OVERRIDE;
- int incr_height() const FL_OVERRIDE { return (item_height(0)); }
+ int incr_height() const FL_OVERRIDE { return (item_height(0) + linespacing()); }
public:
enum { FILES, DIRECTORIES };