Commit Graph

795 Commits

Author SHA1 Message Date
michl
ef57dae24f Don't close EvaluateDialog and Debug Inspector when docked
git-svn-id: trunk@60043 -
2019-01-09 14:25:58 +00:00
juha
76789e3c74 LCL: Raise a specialized ELayoutException for LCL layout related errors. Issue #34362, patch from accorp.
git-svn-id: trunk@59274 -
2018-10-09 14:00:34 +00:00
juha
49e55e3acf LCL: Copy TMenuItem's Name to its Caption after renaming if they were identical. TControl does the same already.
git-svn-id: trunk@58938 -
2018-09-10 22:27:49 +00:00
juha
65bf99f425 LCL: Move procedure UpdateAlignIndex from TControl to TWinControl because it deals with its private var FAlignOrder. Suggested by taazz.
git-svn-id: trunk@58449 -
2018-07-06 21:06:59 +00:00
ondrej
0c5181bf67 Revert r58337 and r58339 #e887c43e0d
git-svn-id: trunk@58346 -
2018-06-19 20:04:57 +00:00
ondrej
e887c43e0d LCL: move EditingDone from TControl to TWinControl. It doesn't have a meaning in TControl
git-svn-id: trunk@58339 -
2018-06-19 17:19:34 +00:00
ondrej
f1b3d3f742 LCL: call OnEditingDone (DoEditingDone) only if something changed
git-svn-id: trunk@58337 -
2018-06-19 17:11:31 +00:00
wp
4fd2587322 LCL: Undo r58266 #9602db0b8b (Breaks inner workings of combined components using the OnClick internally and providing access to Actions externally, like in RxViewPanel)
git-svn-id: trunk@58290 -
2018-06-16 12:53:24 +00:00
wp
9602db0b8b LCL: Avoid TAction.OnExecute being fired in addition to TControl.OnClick.
git-svn-id: trunk@58266 -
2018-06-14 10:51:48 +00:00
michl
7da1636ffa LCL: Fixed OnClick event not triggered for a TSpeedButton on a fresh created form when inside a TGroupBox. Issue #26638
git-svn-id: trunk@58237 -
2018-06-12 20:26:25 +00:00
ondrej
640a3ed946 LCL: control: remove unnecessary GetScaledControlClassDefaultSize introduced in r58125 #3ec78f9640
git-svn-id: trunk@58135 -
2018-06-05 07:56:18 +00:00
ondrej
3ec78f9640 LCL: scale control default size when needed. Solves issue #32702
git-svn-id: trunk@58125 -
2018-06-04 15:35:01 +00:00
ondrej
460bcc1dd5 LCL: DoubleBuffered & ParentDoubleBuffered support
git-svn-id: trunk@58097 -
2018-06-03 19:45:05 +00:00
ondrej
4a4c2d9374 LCL:fix scaling of font size set to <>0 in design time. Issue #33132, regression after r56962 #d7f8f5e5f6
git-svn-id: trunk@57265 -
2018-02-06 16:12:49 +00:00
ondrej
557b843294 LCL: high-dpi image list: support retina (for now Cocoa only)
git-svn-id: trunk@57240 -
2018-02-03 22:58:50 +00:00
ondrej
81c4a099c2 LCL: fix regression in autosize after r56947 #9ecac75432. Issue #28654
git-svn-id: trunk@57082 -
2018-01-14 05:24:17 +00:00
ondrej
d7f8f5e5f6 LCL: High-DPI: fix font scaling and design-time scaling. Issues #32882 and #32944
git-svn-id: trunk@56962 -
2018-01-05 08:10:01 +00:00
ondrej
9ecac75432 LCL: fix autosizing for not-aligned controls. Issue #28654
git-svn-id: trunk@56947 -
2018-01-04 06:24:36 +00:00
ondrej
8726ea2759 LCL: revert r50942 #dfebe2190c. Issue #28654
git-svn-id: trunk@56946 -
2018-01-04 06:20:31 +00:00
juha
f79dd3199d LCL: Support horizontal mouse wheel messages. Issue #32753, patch from AlexeyT.
git-svn-id: trunk@56642 -
2017-12-05 21:30:57 +00:00
juha
bdb1578f08 LCL: Make sure NewDockSite is assigned in TContol.Dock.
git-svn-id: trunk@56142 -
2017-10-21 16:30:23 +00:00
juha
b5ccc4c16b LCL: Try to debug invalid position values in TControl.ChangeBounds. Issue #32528.
git-svn-id: trunk@56049 -
2017-10-13 17:49:48 +00:00
michl
caddd12280 LCL: Font: Revert revision 55761 #40755af91a as it breaks per monitor High-DPI scaling.
git-svn-id: trunk@55884 -
2017-09-19 19:54:00 +00:00
michl
0859d8780e LCL: Font: Revert 55841 #83ed3c6a91, it broke returning Font.Height.
git-svn-id: trunk@55845 -
2017-09-12 16:26:59 +00:00
michl
83ed3c6a91 LCL: Font: Fixed set Font.Size in FormCreate cause scaled twice. Issue #31276
git-svn-id: trunk@55841 -
2017-09-11 19:58:32 +00:00
michl
40755af91a LCL: Disable scaling for default fonts, as they are correctly sized taken from OS. Issue #32359
git-svn-id: trunk@55761 -
2017-08-30 21:30:41 +00:00
ondrej
e9f32a53a5 IDE: High-DPI: scale open file drop down menu icons.
git-svn-id: trunk@55662 -
2017-08-14 11:44:02 +00:00
ondrej
0a2fe800e3 lcl: control: high-DPI: correctly scale base bounds. Issue #31992
git-svn-id: trunk@55537 -
2017-07-18 20:51:36 +00:00
mattias
313c3fc636 LCL: added property MouseInClient for Delphi compatibility, deprecated MouseEntered, issue #32020
git-svn-id: trunk@55353 -
2017-06-15 18:21:31 +00:00
juha
e27232d4cc Fix uninitialized variables based on compiler warnings got with dfa (data flow analysis) enabled.
git-svn-id: trunk@55211 -
2017-06-04 15:14:29 +00:00
bart
6f6e427f1c LCL: Implement TControl.AddHandlerOnMouseWheel/RemoveHandlerOnMouseWheel.Part of Issue #0031868.
git-svn-id: trunk@55113 -
2017-05-28 10:16:36 +00:00
ondrej
083ef5923c LCL: rename TControl.ScaleCoord* methods
git-svn-id: trunk@55022 -
2017-05-20 10:02:25 +00:00
ondrej
043c32411e lcl: control: apply constraints to new size in DoAutoAdjustLayout and update top/left if bottom/right aligned. Fixes issue #31772
git-svn-id: trunk@54927 -
2017-05-14 14:28:08 +00:00
ondrej
ede8a86d9d lcl: support for DebugDisableAutoSizing compiler define
git-svn-id: trunk@54813 -
2017-05-05 20:42:32 +00:00
juha
e800a738ad Copy AVL_Tree from FPC trunk and replace classes in AvgLvlTree and in CodetoolsStructs with it.
The unit in FPC packages will be used directly later.

git-svn-id: trunk@54524 -
2017-04-05 08:34:48 +00:00
ondrej
8537762cb8 LCL: High-DPI: disable/enable auto sizing on scale.
git-svn-id: trunk@54359 -
2017-03-07 13:52:49 +00:00
juha
f435e4865a LCL: Enable propagation of mouse xbutton up/down events. Issue #31456, patch from Jay Themon.
git-svn-id: trunk@54357 -
2017-03-07 10:28:44 +00:00
ondrej
716fadd4fe LCL: control: fix twice font scaling for 0-sized fonts with ParentFont=False. Issue #31432
git-svn-id: trunk@54354 -
2017-03-06 15:50:50 +00:00
ondrej
dec8fb4e29 LCL: control: fix design font PPI only if ParentFont=False
git-svn-id: trunk@54292 -
2017-02-27 14:01:06 +00:00
ondrej
301fe8fb23 LCL: control: DoFixDesignFontPPI Begin/EndUpdate
git-svn-id: trunk@54249 -
2017-02-21 23:50:33 +00:00
ondrej
b64d6fc80e LCL: control: fix 0-height font scaling: only in runtime
git-svn-id: trunk@54223 -
2017-02-21 12:51:35 +00:00
ondrej
e5d22e3b9a LCL: control: fix 0-height font scaling: only in runtime
git-svn-id: trunk@54222 -
2017-02-21 12:48:22 +00:00
ondrej
00e450bfa7 LCL: control: fix 0-height font scaling
git-svn-id: trunk@54220 -
2017-02-21 11:59:27 +00:00
ondrej
eeff7db7c3 LCL: rename DPI parameters to PPI
git-svn-id: trunk@54218 -
2017-02-21 10:56:42 +00:00
ondrej
4a89ed8ec1 LCL: TControl: explicitely scale fonts with 0-height because they cannot be scaled automatically with TFont.PixelsPerInch
git-svn-id: trunk@54216 -
2017-02-21 10:45:27 +00:00
ondrej
592b495a47 LCL: HighDPI: use relative font scaling, not the absolute PPI (fix for r54210 #eb28e06e83). Issue #31276
git-svn-id: trunk@54211 -
2017-02-20 15:04:02 +00:00
ondrej
eb28e06e83 LCL: HighDPI: fix font scaling. Issue #31276
git-svn-id: trunk@54210 -
2017-02-20 13:59:36 +00:00
ondrej
d6ec634142 lcl: TControl: highDPI: fix DoAutoAdjustLayout for right- and bottom-aligned controls at a sibling
git-svn-id: trunk@54203 -
2017-02-19 20:28:36 +00:00
ondrej
b4b0cf8831 lcl: TControl: highDPI: don't do AutoSize in DoAutoAdjustLayout - it removes correctly calculated size for autosized controls.
git-svn-id: trunk@54194 -
2017-02-19 14:16:08 +00:00
ondrej
6d31586364 lcl: TControl: highDPI: fix DoAutoAdjustLayout for right- and bottom-aligned controls.
git-svn-id: trunk@54193 -
2017-02-19 13:57:57 +00:00