Repository navigation
v3.0.1
A bug-fix release for 3.0.
Added
TTySpinEdit/TTyFloatSpinEditup/down buttons: the pointer turns into an arrow over them, they light up on hover and press, and holding one keeps stepping. (#12)OnHelpClickedonTTyFindDialog/TTyReplaceDialog: withfrShowHelpinOptionsthe dialog shows a Help button that fires it. (#30)
Changed
TTyColorButton.DialogCaptionandTTyColorComboBox.MoreCaptiondefault to empty, meaning the library's own text, translated with the application; the newDialogTitleandMoreTextreturn the text actually shown. (#41)TTyColorBox/TTyColorListBoxno longer writeItemsto the form file and rebuild them fromStyleon load; for a palette of your own, usecbCustomColorswithOnGetColors, orAddColorat run time. (#20)TTyFontComboBox/TTyFontListBoxno longer writeItemsto the form file and refill them from this machine's fonts on load. (#26)TyEdit.embeddedhas no padding in the built-in themes; a custom theme that defines it should addpadding: 0too. (#39)
Fixed
- The packages failed to build on Lazarus 3.x. (#3)
- A project made from the "TyControls Application" template did not show at run time the built-in theme picked in the designer; a project made with 3.0.0 needs the two lines described in the issue. (#10)
- With
AutoSizeon,TTyCheckBox,TTyRadioButton,TTyTag,TTyLabelandTTyColorButtoncame out too narrow and cut off or ellipsised the end of their caption. (#11) TTyFloatSpinEdit's up/down buttons were smaller thanTTySpinEdit's. (#17)- An editable
TTyComboBoxat its default height cut off the descenders of g, y, p and the like, and set its text further right than a non-editable one. (#39) - An editable
TTyComboBoxwhoseItemIndexwas set in code showed an empty field, and picking that row from the list did not fill it either. (#43) - A read-only
TTyDateTimePickercould still change its value through the dropdown calendar. (#35) TTyCurrencyEditlost or corrupted its value when the currency symbol contained a dot or a digit (Fr.,kr.,US$1). (#38)- After scrolling,
TTyTreeViewpainted rows over its header, and the last rows could not be scrolled into view. (#19) - Ellipsising a very long text (hundreds of lines) nearly froze; a multi-line text in a single-line place now shows its first line. (#18)
- Every
TTyStringGridleaked two string lists when freed. (#16) - Freeing a
TTyCoolBarwhile its form was open raised an access violation. (#15) - A
TTyColorBox/TTyColorListBoxread back from a form showed black swatches and lost its selected colour. (#20) TTyFontComboBox/TTyFontListBoxwrote the machine's whole font list into the form file, so another machine listed the first machine's fonts. (#26)- On Windows the font combo box, font list box and font dialog listed every CJK font twice, once as a vertical '@' alias that draws its glyphs on their side. (#31)
TTyRibbon/TTyPageControl: a page moved away, or freed by a different owner, stayed in the page list. (#21)- A
TTyRibbonsaved minimised expanded to just its tab strip after being read back. (#23) - A
TTyFormlost its content surface after being read if the surface had been renamed. (#22) - Changing an icon font after a
TTyCharImage/TTyRibbonGallerythat used it was freed raised an access violation. (#24) - Hints, balloon hints, popup menus, grids and the native styler kept pointing at a referenced component after it was freed on another form. (#25)
- File dialogs ignored
fdoPathMustExist, and checkedfdoFileMustExistonly for one name in an open dialog. (#29) - File dialogs asked
OnCanClosebefore checking the name, so the dialog could stay open afterOnCanClosesaid yes. (#32) - The
frHide*,frDisable*andfrShowHelpoptions ofTTyFindDialog/TTyReplaceDialoghad no effect. (#30) Description,Prompt,EmptyTextand other text properties were never translated in a translated application. (#33)TTyColorButton's dialog title andTTyColorComboBox's "More…" row stayed in English in a translated application. (#41)- In a Chinese UI, the messages for a broken theme were in English, and the font dialog's preview showed no Chinese characters. (#44)
- Gradient and nine-slice backgrounds left some fields uninitialised: the same rule could resolve differently twice, and glass with
glass-blurbut noglass-tinttook a random tint. (#40) - Glass lost its tint when a
.tycssrule wroteglass-tintbeforebackground, or when a later rule or aStyleOverridechanged only the background. (#42) - The tycss reference described
padding,alpha()and gradient stops wrongly. (#13)
Full changelog: CHANGELOG.en.md