Commit Graph

127 Commits

Author SHA1 Message Date
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
wp_xxyyzz
dcc90b77e4 spktoolbar: Fix dropdown arrows in Linux
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6162 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-01-31 21:44:46 +00:00
wp_xxyyzz
210853a090 spktoolbar: Update readme.txt (palette icon). Change version number to 0.1.5 (after releasing previous revision as v0.1.4).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6127 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-01-11 21:52:00 +00:00
wp_xxyyzz
7556932674 spktoolbar: Fix compilation with current fpc trunk. Replace palette icon by a new version by Roland Hahn.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6126 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-01-11 21:36:14 +00:00
wp_xxyyzz
aa07232678 spktoolbar: More conventional code formatting of unit SpkGUITools
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6038 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-10-12 17:48:39 +00:00
wp_xxyyzz
38e00ec90d spktoolbar: Fix "bitmap handle leak" (issue discussed in https://sourceforge.net/p/lazarus-ccr/bugs/35/)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6037 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-10-12 10:37:39 +00:00
wp_xxyyzz
92d83425c6 SpkToolbar: Fix compilation after Laz-trunk r55713
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6005 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-08-21 15:35:42 +00:00
wp_xxyyzz
0b17d047d6 spktoolbar: Set version no to 0.1.2 for OPM. Check all demos.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5986 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-07-09 22:53:56 +00:00
wp_xxyyzz
f07535e014 spktoolbar: Fix font scaling for Laz >= 1.8
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5985 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-07-09 19:16:35 +00:00
wp_xxyyzz
9b21c0b60e spktoolbar: improved internal layout of small buttons
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5984 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-07-08 22:13:10 +00:00
wp_xxyyzz
271196a1f6 spktoolbar: Use LCL scaling (for Laz >= 1.8)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5983 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-07-08 20:35:49 +00:00
wp_xxyyzz
b70ca5e5d2 spktoolbar: Fix fonts not changeable in OI
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5982 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-07-08 16:24:34 +00:00
wp_xxyyzz
9eb490f7e4 spktoolbar: improved scaling of Appearance Editor form for Laz <1.8
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5981 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-07-08 15:08:34 +00:00
wp_xxyyzz
3b2bc7db66 spktoolbar: Fix compilation under Laz <1.8
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5980 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-07-08 11:59:47 +00:00
wp_xxyyzz
a0ba9538e5 spktoolbar: add readme.txt
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5978 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-07-07 23:14:21 +00:00
wp_xxyyzz
55d8f6c188 spktoolbar: Improved layout and image size selection in design editor windows.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5977 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-07-07 22:38:47 +00:00
wp_xxyyzz
b269496766 spktoolbar: Replace Polish comments and exception messages by google-translated texts.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5976 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-07-07 19:38:09 +00:00
wp_xxyyzz
540a80e73d spkToolbar: Fix switching of image list in EditWindow.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5975 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-07-07 19:04:26 +00:00
wp_xxyyzz
e2bb5a34d6 spktoolbar: Add icons at 150% and 200% to SpkToolbar EditWindow.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5973 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-07-07 16:53:20 +00:00
wp_xxyyzz
0ec27d7d54 spktoolbar: Avoid usage of hardcoded font in EditWindow
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5972 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-07-07 11:40:30 +00:00
wp_xxyyzz
c60a38defc spktoolbar: set version number to 0.1.1 for OPM
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5824 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-03-29 08:01:08 +00:00
wp_xxyyzz
c46a2229cd spktoolbar: Add unit2 missing from actions demo.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5822 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-03-27 11:50:52 +00:00
wp_xxyyzz
636d76d7d4 spktoolbar: Compile demos with -Xg
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5760 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-02-20 17:16:02 +00:00
wp_xxyyzz
93109d8bff SpkToolbar: Fix checked state not propagating from toggle button back to Action.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5388 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-11-27 18:50:10 +00:00