183 Commits

Author SHA1 Message Date
fdfe7e6f64 SpkToolbar: Replace the "More Options" button icon (#$E2#$87#$B2) by a nicer character (#$EE#$8A#$BD).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8968 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-18 08:17:23 +00:00
6be867b8cd SpkToolbar: Fix crash when a popupmenu used by a button is destroyed.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8962 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-13 20:53:27 +00:00
a36b768a64 SpkToolbar: RTL support for the "More options" button.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8961 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-13 11:17:57 +00:00
ba931c14b4 SpkToolbar: Publish BiDiMode property. Update the Styles demo to show BiDiMode.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8960 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-13 10:19:19 +00:00
d744478fd0 SpkToolbar: Simplification of RTL
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8959 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-13 10:11:32 +00:00
b5c1e6aeb3 SpkToolbar: Support RTL in Tab and MenuButton layout of SpkToolbar
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8958 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-13 10:08:22 +00:00
130a06d6dd SpkToolbar: Support RTL layout of panes within tab
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8957 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-13 09:44:46 +00:00
2ff41ccea4 SpkToolbar: Support RTL layout of buttons within panes.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8956 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-13 09:33:12 +00:00
d3bbef0991 TvPlanit: Support RTL in TSpkCheckbox and TSpkRadioButton
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8955 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-13 08:33:51 +00:00
c9940f44bf SpkToolbar: Implement RTL for TSpkSmallButton.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8954 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-12 22:48:11 +00:00
9dc50e13f7 SpkToolbar: Prepare for RTL
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8953 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-10-12 21:43:33 +00:00
479400a094 SpkToolbar: Fix installation in case-sensitive file systems
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8760 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-03-10 12:09:27 +00:00
cebd61929e spktoolbar: New palette icons für TSpkToolbar and TSpkPopupMenu. Replace .lrs resource by a .res resource. Refactor component registration.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8753 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-02-28 11:43:24 +00:00
7d9529a164 spktoolbar: Option to draw selection in TSpkToolbar with rounded corners.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8749 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-02-27 15:09:47 +00:00
6d7d0ccd70 spktoolbar: Fix typo ("tuquoise") in runtime demo.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8746 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-02-25 18:29:36 +00:00
1f509a1358 spkttoolbar: Activate TSpkPopupMenu in demo project "Basic"
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8741 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-02-24 21:19:13 +00:00
2d2831d764 spktoolbar: "Actions" demo put checkmark at item of loaded style in StyleMenu.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8740 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-02-23 22:35:50 +00:00
a49c3ad55f SpkToolbar: Support SpkPopupMenu also by MenuButton. Integrate SpkPopupMenu into the "actions" and "runtime" demo projects.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8739 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-02-23 22:25:12 +00:00
318afbd40f spktoolbar: Support the SpkPopupMenu in the AppearanceEditor.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8738 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-02-23 19:14:35 +00:00
75b9afae7c spktoolbar: Rename DividerLineColor to GutterFrameColor.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8737 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-02-23 14:56:14 +00:00
5c20fe1ecc spktoolbar: Refactor TSpkPopupMenuAppearance.SaveToPascal.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8733 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-02-22 15:32:03 +00:00
9a2c6006ee spktoolbar: Add DividerLineColor to SpkPopupMenu appearance.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8732 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-02-22 15:04:00 +00:00
29a4c0d8f3 spktoolbar: Support the ShortCut2 property of TSpkPopupMenu items.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8731 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-02-22 14:27:25 +00:00
046cd102fc spkToolbar: Complete TSpkPopupMenuAppearance.Assign
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8730 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-02-22 14:20:02 +00:00
e599ba0a1d spktoolbar: Support accelerator in TSpkPopupMenu items
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8729 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-02-22 14:19:19 +00:00
4e512b8b93 spktoolbar: Support shortcuts in TSpkPopupMenu items.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8728 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-02-22 13:44:18 +00:00
b97dbe66dd spktoolbar: Add checkbox support to SpkPopupMenu.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8727 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-02-21 23:18:12 +00:00
100404da41 spktoolbar: Fix broken assignment of SpkPopopMenu to buttons at designtime.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8726 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-02-21 22:03:57 +00:00
33121d356d spktoolbar: Initial commit of TSpkPopupMenu.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8725 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-02-21 21:47:21 +00:00
36eff03740 spktoolbar: Improved setters of some TSpkBaseButton properties. See https://forum.lazarus.freepascal.org/index.php/topic,51552.msg471040.html#msg471040.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8706 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-02-14 09:21:29 +00:00
08fd914612 spktoolbar: Remove restriction to 24-bit bitmaps. (see https://forum.lazarus.freepascal.org/index.php/topic,61200.0.html)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8611 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-11-12 10:19:12 +00:00
862deb52cc spktoolbar: Fix hint not always showing when the toolbar has its own hint. Issue #39022, patch by michalgw.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8236 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-03-26 22:06:28 +00:00
e8550cb6a8 spktoolbar: Implement hints. Issue #39022, patch by michalgw.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8231 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-03-25 22:12:59 +00:00
4e7896f9a4 SpkToolbar: Less hints and warnings
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8131 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-10-27 17:49:55 +00:00
5dc39f028a SpkToolbar: Fix scaling of toolbar height in cocoa. Patch by ChristianH, forum https://forum.lazarus.freepascal.org/index.php/topic,55123.msg409712/topicseen.html
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8056 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-06-23 20:25:47 +00:00
239da83e8c SpkToolbar: Less hints and warnings
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8055 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-06-23 17:47:24 +00:00
c1347e04e7 SpkToolbar: Fix blurry fonts on macOS/cocoa. Patch by ChristianH, forum https://forum.lazarus.freepascal.org/index.php/topic,55123.msg409712/topicseen.html
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8054 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-06-23 16:56:56 +00:00
6d39d416bb SpkToolbar: Increase version to v0.1.8 (after release of v0.1.7). Some minor changes in demos (included in released version).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8050 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-06-12 16:17:02 +00:00
bc29b17193 SpkToolbar: Add demo for LCLScaling of the toolbar and its icons.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7975 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-03-08 18:11:42 +00:00
9d81685561 SpkToolbar: Fix scaling of fonts set at designtime.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7974 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-03-08 17:43:41 +00:00
3f28cb5ded SpkToolbar: cosmetic
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7970 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-02-15 15:36:59 +00:00
4e0089b2f2 SpkToolbar: Fire OnMenuButtonClick only when a MenuButtonDropDown popup menu is assigned to the SpkToolbar. Issue #38481.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7969 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-02-15 15:00:44 +00:00
8bdb1bd4d4 spkToolbar: A more general solution to issue #37961 than r7786
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7787 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-10-20 16:09:14 +00:00
ee669bbd95 spkToolbar: Fix dimensions when the toolbar is in a frame rather than a form. Issue #37961.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7786 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-10-20 16:04:14 +00:00
bf2850f8a1 SpkToolbar: Fix anchors in Appearance editor.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7737 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-10-03 14:39:46 +00:00
e1af77e5b3 SpkToolbar: Adding missing Appearance editor update (due to TMenuButton). Patch by Husker (https://forum.lazarus.freepascal.org/index.php/topic,51552.msg379413.html#msg379413).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7736 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-10-03 10:45:48 +00:00
d0521f135e SpkToolbar: Mention Husker as contributor to the package.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7735 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-10-02 21:38:09 +00:00
171f166623 SpkToolbar: Update Styles demo to show the new TMenuButton. Patch by Husker (https://forum.lazarus.freepascal.org/index.php/topic,51552.msg379413.html#msg379413).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7734 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-10-02 21:35:00 +00:00
29499ce5e9 SpkToolbar: Update Basic demo to show the new TMenuButton. Patch by Husker (https://forum.lazarus.freepascal.org/index.php/topic,51552.msg379413.html#msg379413).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7733 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-10-02 21:19:59 +00:00
a7c30e362e spkToolbar: Update Actions demo to show the new TMenuButton. Patch by Husker (https://forum.lazarus.freepascal.org/index.php/topic,51552.msg379413.html#msg379413).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7732 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-10-02 21:04:51 +00:00