From 499d89e7300d2c9998a3b6f6c26a4b4ba938e35a Mon Sep 17 00:00:00 2001 From: Dimitris Panokostas Date: Tue, 3 Sep 2024 22:31:42 +0200 Subject: [PATCH] enhancement: always show horizontal scrollbar in Selectfile dialog (fixes #1415) --- src/osdep/gui/SelectFile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osdep/gui/SelectFile.cpp b/src/osdep/gui/SelectFile.cpp index 22205eaa5..0262abd73 100644 --- a/src/osdep/gui/SelectFile.cpp +++ b/src/osdep/gui/SelectFile.cpp @@ -266,7 +266,7 @@ static void InitSelectFile(const std::string& title) scrAreaFiles->setBackgroundColor(gui_textbox_background_color); scrAreaFiles->setForegroundColor(gui_foreground_color); scrAreaFiles->setSelectionColor(gui_selection_color); - scrAreaFiles->setHorizontalScrollPolicy(gcn::ScrollArea::SHOW_AUTO); + scrAreaFiles->setHorizontalScrollPolicy(gcn::ScrollArea::SHOW_ALWAYS); scrAreaFiles->setVerticalScrollPolicy(gcn::ScrollArea::SHOW_ALWAYS); if (createNew)