Commit Graph

150 Commits

Author SHA1 Message Date
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
51e360c94b SpkToolbar: Use "More options" button in Actions demo. Based on patch provided by husker.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7699 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-09-26 22:35:29 +00:00
wp_xxyyzz
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
wp_xxyyzz
6678dc1af8 spktoolbar: Fix incorrect image assigned to action for adding radiobutton (Patch by husker, https://forum.lazarus.freepascal.org/index.php/topic,51552.msg378768.html).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7695 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-09-26 11:30:11 +00:00
wp_xxyyzz
6f16f11ccc spkToolbar: Add the new separator to the "actions" demo.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7690 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-09-23 19:14:25 +00:00
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
73df13182b spktoolbar: Increment package version to 0.1.7 after releasing v0.1.6
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6205 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-02-16 17:10:22 +00:00
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
06df189e29 spktoolbar: More icons for Content Editor.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6200 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-02-12 16:06:11 +00:00
wp_xxyyzz
81e637a3af spktoolbar: Simplify Contents Editor form
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6199 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-02-12 11:15:06 +00:00
wp_xxyyzz
a6420aeb05 spktoolbar: Fix incorrect dropdown button width in Contents Editor at high dpi.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6198 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-02-12 11:10:53 +00:00
wp_xxyyzz
474d9556dd spktoolbar: Add demo with Hi-DPI imagelist.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6197 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-02-12 09:32:07 +00:00
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
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
wp_xxyyzz
14633ea902 spktoolbar: Add inherited properties. Add DoubleBuffered = true (otherwise severe flickering after recent changes in Laz trunk after r57267)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6185 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-02-07 22:05:46 +00:00
wp_xxyyzz
13e90fd562 spktoolbar: Define default values for properties. Register GroupBehaviour to be skipped for SpkCheckbox and SpkRadiobox (removes lfm breakage introduced by r6170).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6180 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-02-06 11:02:48 +00:00
wp_xxyyzz
713dd4bc78 spktoolbar: Two comments for {%H-} locations.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6176 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-02-05 12:36:08 +00:00
wp_xxyyzz
b12379211e spktoolbar: Fix action AND click events firing if both are assigned. Clean up click events from actions demo.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6175 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-02-05 12:24:59 +00:00
wp_xxyyzz
fdee2dddbe spktoolbar: Less hints and warnings
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6174 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-02-05 12:05:26 +00:00
wp_xxyyzz
e6b9f9169d spktoolbar: Clean-up
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6173 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-02-05 08:23:23 +00:00
wp_xxyyzz
08713d9bf5 spktoolbar: setting Action.OnExecute no longer changes the TSpkBaseButton's OnClick. MAY BREAK CODE USING SPKTOOLBAR WITH ACTIONS (Sender is now the Action, no longer the button).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6172 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-02-04 23:51:04 +00:00
wp_xxyyzz
a0c9109ed4 spktoolbar: Update demo project forms because of removed property GroupBehavior in TSpkCheckbox and TSpkRadioButton. Add more panes to Styles demo.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6171 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-02-04 17:30:54 +00:00
wp_xxyyzz
eb414f9593 spktoolbar: Fix action behavior in TSpkCheckbox and TSpkRadioButtons. Remove redundant code. Remove unneeded property Groupbehavior from these controls - THIS MAY BREAK EXISTING FORMS!
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6170 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-02-04 17:29:22 +00:00
wp_xxyyzz
c5b3e83d2a spktoolbar: Replace themed painting of dropdown arrows by self-painted triangles (better control of color of the dropdown button).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6163 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-02-01 08:44:57 +00:00