Skip to content

Commit

Permalink
enhancement: always show horizontal scrollbar in Selectfile dialog (f…
Browse files Browse the repository at this point in the history
…ixes #1415)
  • Loading branch information
midwan committed Sep 3, 2024
1 parent a1c78c6 commit 033746f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/osdep/gui/SelectFile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

3 comments on commit 033746f

@giantclambake
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@midwan ... Not working as intended -- H_scroller is visible, but not moveable (can't drag, < & > buttons do nothing)?

@midwan
Copy link
Collaborator Author

@midwan midwan commented on 033746f Sep 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was a bug in Guisan, which didn't resize the horizontal size of the Listbox properly.
Fixed now

@giantclambake
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, that's why I couldn't see it ~ seems fixed ....now I just have to find out why gui theme colors are screwed with latest guisan =)

Please sign in to comment.