Repository navigation
Version 1.2.0
What's Changed
Fixes
- DPI-aware scaling — correct rendering on high-DPI displays (per-monitor V2), scaled geometry fields instead of hard-coded constants
- AdjustBounds fix — text properties can be set safely before Parent assignment (uses screen DC instead of control Canvas)
- Keyboard OnClick — Space/Enter now fires OnClick in addition to OnChange
- Color=clNone fix — background now uses parent color as documented in README
- Click area — only the track responds to clicks, text label remains passive
- Compiler warnings resolved — added missing units (System.Types, System.UITypes), removed unused variables
Tests
- New tests: handle guard (no-parent scenario), toggle logic, OnChange event firing, default state
Docs
- Added DPI-aware feature to README
- Updated platform to Win32/Win64
- Added demo screenshot
Demo
- Dynamic layout — positions calculated from control heights, no overlap on high-DPI
Full Changelog: v1.1.0...v1.2.0