Repository navigation
v3.0.3
A bug-fix release for 3.0, mostly for macOS: sharp drawing on Retina screens, the system's window frame, and building the macOS version with Lazarus 3.x.
Changed
- On macOS a
TTyFormwindow now uses the system's window frame: rounded corners, the shadow, the traffic-light buttons, resizing from the edges, tiling and zoom are all the system's. SetTTyTitleBar.MacTrafficLightsto False for the title bar's own drawn buttons. (#80, #89) - On a macOS Retina screen a
TTyPainterlayer is twice the control's size. Code that works onBitmapdirectly (FillRect,PutImageand so on) inOnPaintSurface,OnDrawCelland the like converts control coordinates to layer pixels withDev(); see the events documentation.TyDeviceScaleRendering := Falsetakes all drawing back to one times. Windows and Linux are not affected. (#83) - The Online Package Manager no longer lists GTK3 as a supported widgetset: LCL-GTK3 still has problems the library cannot work around. Building for GTK3 from source still works; see the known issues. (#95)
Fixed
- Text and graphics were blurry on macOS Retina screens. (#83, #93)
- Dark text came out too heavy on macOS. (#91)
- On Windows, control text was greyer and softer than the system's own. (#90)
- A control's
Fontname, bold, italic, underline, strikeout and colour had no effect (withParentFontFalse). They are now laid over the theme's style;StyleOverridestill wins. (#92) - A
TMainMenuin aTTyForm'sMenuput a native menu bar on the window on Windows and made it taller.TTyFormno longer uses the inheritedMenu: the Object Inspector does not show it, the designer does not set it when aTMainMenuis dropped, and one already set is taken out of it with its shortcuts still working. Use aTTyMenuBarand the form'sMenuBarfor the window's menu. (#78) - The slider of
TTyTrackEditand the buttons ofTTyComboEdit,TTyURLEdit,TTyCalcEditand the like showed the text I-beam. (#84) - Scrolling a grid left a gap in its left border. (#86)
- With
WordWrapoff,TTyMemocould fall short of the end of a line with Arabic, Devanagari, combining marks or other text shaped as a run when scrolled sideways. (#77) - Building the macOS version with Lazarus 3.x failed, also for projects that compile the library from source. (#81, #88)
- Some examples failed to build on macOS with an FPC internal error (DWARF3). (#87)
- Building the GTK3 version with a released Lazarus (before 4.99) failed. (#82)
Full changelog: CHANGELOG.en.md