111 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
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
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
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
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
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
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
4c1488174c spkToolbar: Add TMenuButton, patch by Husker (https://forum.lazarus.freepascal.org/index.php/topic,51552.msg379413.html#msg379413). No complete, yet.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7731 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-10-02 20:44:24 +00:00
eeda26f714 SpkToolbar: Prevent mouse clicks on hidden "More options" button.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7700 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-09-26 22:37:56 +00:00
afaa49277f spkToolbar: Add "More options button" to panes. Patch by husker, slightly modified, https://forum.lazarus.freepascal.org/index.php/topic,51552.msg378809.html#msg378809
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7698 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-09-26 22:12:42 +00:00
ebd7cefb2e spkToolbar: Add separators (ButtonKind = bkSeparator). Patch provided by Husker, https://forum.lazarus.freepascal.org/index.php/topic,51552.msg378527.html
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7689 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-09-23 19:07:15 +00:00
222e4fc640 spktoolbar: Fix not being able to control caption color of checked buttons by Appearance Editor.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7533 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-07-09 16:29:57 +00:00
79a817cefd spktoolbar: LCLScaling support for property Appearance.Tab.CaptionHeight
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7196 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-11-22 21:44:38 +00:00
10994ea2c9 spktoolbar: Add new property CaptionHeight to TabAppearance.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7195 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-11-22 18:50:15 +00:00
f4ff85e64a spktoolbar: Set TOOLBAR_CORNER_RADIUS to 0 (was: 3) to place tabs with zero CornerRadius immediately to the left edge of the toolbar.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7184 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-11-12 15:35:42 +00:00
8e8e01d047 spktoolbar: Add Appearance property Tab.CornerRadius (https://forum.lazarus.freepascal.org/index.php/topic,47375.msg339191)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7183 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-11-12 15:25:04 +00:00
966ef750d3 spktoolbar: Fix compilation for Laz trunk before r57304.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6204 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-02-16 17:05:09 +00:00
cbd182c93d spktoolbar: Improved handling of DoubleBuffered.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6203 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-02-16 16:46:53 +00:00
f17eb37074 spktoolbar: Fix LCLScaling (minor issue remaining when form is loaded from hi-dpi system into low-dpi system: modify form a bit, save and load again).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6196 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-02-12 09:29:36 +00:00
38fc173d25 spktoolbar: Google-translate most of the Polish comments.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6195 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-02-12 00:15:47 +00:00
bf14d85c04 spktoolbar: Activate Hi-DPI toolbar features.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6193 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-02-10 00:38:06 +00:00
856716b59f spktoolbar: Rename constant DPI_AWARE to SPK_DPI_AWARE (to distinguish from LCL scaling). Remove global DesignDPI variable.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6192 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-02-09 17:19:18 +00:00