Skip to content

v3.0.3

Choose a tag to compare

@ACTom ACTom released this 20 Oct 14:26
· 2810 commits to main since this release

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 TTyForm window 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. Set TTyTitleBar.MacTrafficLights to False for the title bar's own drawn buttons. (#80, #89)
  • On a macOS Retina screen a TTyPainter layer is twice the control's size. Code that works on Bitmap directly (FillRect, PutImage and so on) in OnPaintSurface, OnDrawCell and the like converts control coordinates to layer pixels with Dev(); see the events documentation. TyDeviceScaleRendering := False takes 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 Font name, bold, italic, underline, strikeout and colour had no effect (with ParentFont False). They are now laid over the theme's style; StyleOverride still wins. (#92)
  • A TMainMenu in a TTyForm's Menu put a native menu bar on the window on Windows and made it taller. TTyForm no longer uses the inherited Menu: the Object Inspector does not show it, the designer does not set it when a TMainMenu is dropped, and one already set is taken out of it with its shortcuts still working. Use a TTyMenuBar and the form's MenuBar for the window's menu. (#78)
  • The slider of TTyTrackEdit and the buttons of TTyComboEdit, TTyURLEdit, TTyCalcEdit and the like showed the text I-beam. (#84)
  • Scrolling a grid left a gap in its left border. (#86)
  • With WordWrap off, TTyMemo could 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