lc-soft / LCUI

C library for building user interfaces
https://lcui-dev.github.io
MIT License
4.13k stars 356 forks source link

Scrollbar Width and Size is Incorrect In Newer Versions #256

Open TheSystemIsCorrupt opened 3 years ago

TheSystemIsCorrupt commented 3 years ago

Describe the bug I just noticed Scrollbars are not working correctly in newer version, If you download official lcdesign demo here and run it you get this : lcui-demo

Now if we get offical 2.2 win64 release here and replece the LCUI.dll from the package and run the demo we get this: lcui-new

I rebuilt the project using vs2022 and vs2019, same effect. It seems slider scale is wrong, it has not any border like the correct one.

LCUI version: 2.2 Build tools: Visual Studio 2019 Latest Update/Visual Studio 2022 Latest Preview OS and version: Windows 10 21H2 /Windows 11 Latest Preview

Update : I tested lcui 2.0 and 2.1 they are fine the issue is ony in 2.2