FLTK logo

STR #1629

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]

Return to Bugs & Features | Roadmap 2.0 | Post Text | Post File | SVN ⇄ GIT ]

STR #1629

Application:FLTK Library
Status:5 - New
Priority:2 - Low, e.g. a documentation error or undocumented side-effect
Scope:2 - Specific to an operating system
Summary:BUGFIX for wrong scrollbar size on Microsoft Windows
Created By:Manuel
Assigned To:Unassigned
Fix Version:Unassigned
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

Post File ]

No files

Trouble Report Comments:

Post Text ]
Name/Time/Date Text  
#1 Manuel
19:18 Mar 06, 2007
FLTK2 (didnt check FLTK1) does use a hardcoded srollabr width of 15 pixels. It looks very thin on high DPI monitors when user has customized font sizes and dpi.

Native applications use wider bars and the proper width is exposed by a system API.

Add this line to src/win32/fltk_theme.cxx inside fltk_theme() function:

Widget::default_style->scrollbar_width_ = GetSystemMetrics(SM_CXVSCROLL);

Return to Bugs & Features | Post Text | Post File ]


Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.