Hello to all forum members,
I've added separators items to spkToolbar component. 2 sizes of separators are now available (large and small), as you can see on attached screenshots of the modified "actions" demo.
The changes are mainly a new ButtonKind (bkSeparator) added on TspkLargeButton and TspkSmallButton, and modifications to handle it on the necessary procedures (those that deal with drawing and size calculations).
You'll find attached the modified "spkt_Button.pas" unit (the only one I change beside demo), and if someone could "upload" it (or merge the changes) in the repository, that would be great
. All changes are commented out, starting with "// Husker". if needed, I can upload also the modified demos, or the whole package, if someone tell me how to do (the attachments size and number limitation, you know
...)
To be honest, I'm a hobbyist developer that only play with Lazarus, reminding me the old days when I did the same thing with Delphi Personal Edition, almost 10 years ago, and I don't know how to use SVN and all this sort of thing. As I don't want and have time to learn how to use them, I think it's better spending time trying to improve components than fighting with SVN stuff...
Last precision : I work on Windows 10 1903, and haven't tested the changes on other platforms as I don't have access to them.
Feel free to give me feedback or comments.
Regards,
Husker