SingularInversions / FaceGenBaseLibrary

A simple cross-platform C++17 library for developing computational 3D graphics applications.
MIT License
46 stars 25 forks source link

Scroll bar top/bottom arrows not rendered on first draw after startup #1

Closed ab-cpp closed 8 years ago

ab-cpp commented 9 years ago

To see the issue, on Windows:

fgbl testm gui scroll

Scroll bars are properly rendered after any change, including window resize or tab selection, just not on the initial draw. The most relevent files are source/LibFgWin/FgGuiWinTabs.cpp and source/LibFgWin/FgGuiWinSplitScroll.cpp. These files already include pretty-print debug feedback, just uncomment all lines starting with "//fgout << ..."

ghost commented 8 years ago

I tried to reproduce the bug but the scroll bars did render perfectly on the first launch. tested on windows 7. what's your windows?

ab-cpp commented 8 years ago

Wierd ... I'm running Win 7 as well and get the issue (no arrows rendered above/below scroll bar on first render) for 64/32 debug/release builds on vs2012. Thanks for looking at this ... I was wondering if anyone had ! I've actually found a fix for this recently so will close this issue and try posting another.

ghost commented 8 years ago

okay no problem. glad you found a fix.