Commit Graph

599 Commits

Author SHA1 Message Date
juha
c5b963c85e LCL: Remove some wrong and/or useless comment blocks.
git-svn-id: trunk@59902 -
2018-12-23 21:51:10 +00:00
ondrej
bc7f72a332 LCL: Remove CaptureControl when its handle is destroyed. Issue #33874, fixes r58312 #a82d438e12
git-svn-id: trunk@58314 -
2018-06-18 20:42:07 +00:00
michl
a82d438e12 LCL: TSpeedButton does not respond to pressing, after closing the modal form with a double click. Issue #33874
git-svn-id: trunk@58312 -
2018-06-18 20:21:33 +00:00
ondrej
dc47e847d7 LCL: better prefix for TApplicationDoubleBuffered values
git-svn-id: trunk@58104 -
2018-06-03 20:58:04 +00:00
ondrej
460bcc1dd5 LCL: DoubleBuffered & ParentDoubleBuffered support
git-svn-id: trunk@58097 -
2018-06-03 19:45:05 +00:00
michl
e8f9cb37c0 IDE: AnchorDocking: Revert revision 57947 #12c69fc609, as it breaks docking.
git-svn-id: trunk@58003 -
2018-05-22 20:16:58 +00:00
michl
12c69fc609 LCL: Fixed OnClick event not triggered for a TSpeedButton on a fresh created form when inside a TGroupBox. Issue #26638
git-svn-id: trunk@57947 -
2018-05-16 21:29:56 +00:00
mattias
0a40c1007c lcl: fixed indentation
git-svn-id: trunk@57943 -
2018-05-16 13:16:45 +00:00
mattias
24a1327b6a lcl: TCustomForm.SetActiveControl: debugging
git-svn-id: trunk@57900 -
2018-05-11 19:57:30 +00:00
ondrej
a0ccf85be3 LCL: form: scale form with parent. Issue #33002
git-svn-id: trunk@57156 -
2018-01-27 13:21:45 +00:00
juha
93f48e1da6 LCL: Improve giving focus to docked windows from Windows menu. Issue #32659, patch from Pascal Riekenberg.
git-svn-id: trunk@56417 -
2017-11-16 11:19:00 +00:00
ondrej
3d5bee5c9c LCL: form: force scale bounds in WM_DPICHANGED message handler. Issue #32162
git-svn-id: trunk@55530 -
2017-07-18 18:05:44 +00:00
mattias
bd57210a2f lcl: fixed typos
git-svn-id: trunk@55479 -
2017-07-10 12:20:03 +00:00
ondrej
96886b5551 lcl: forms: scale TFrame the same as TForm. Issue #31807
git-svn-id: trunk@54898 -
2017-05-13 20:00:29 +00:00
ondrej
ede8a86d9d lcl: support for DebugDisableAutoSizing compiler define
git-svn-id: trunk@54813 -
2017-05-05 20:42:32 +00:00
ondrej
d40aae2903 lcl: forms: don't check for old value in UpdateShowInTaskBar. Issue #31248, patch by Michl
git-svn-id: trunk@54722 -
2017-04-25 08:14:10 +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
ondrej
4ba349fd6e LCL: form: fix AutoAdjustLayout if constraints are used. Issue #31336
git-svn-id: trunk@54353 -
2017-03-06 15:34:11 +00:00
michl
62155bcd28 SpartaDockedFormEditor: Fixed always disable actions for controls: Issue #31479
git-svn-id: trunk@54341 -
2017-03-04 13:25:24 +00:00
ondrej
d79fd99a1e LCL: HighDPI: check Application.Scaled for auto-scaling
git-svn-id: trunk@54260 -
2017-02-24 12:07:07 +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
1c7e92643d LCL, IDE: HighDPI: add Application.Scaled and Project1.Scaled property for automatic LCL-driven scaling
git-svn-id: trunk@54199 -
2017-02-19 20:02:58 +00:00
ondrej
df696ddabc LCL: forms: call AutoAdjustLayout in Show if necessary - it doesn't receive LM_DPICHANGED if the form is moved to a different monitor while being invisible.
git-svn-id: trunk@53993 -
2017-01-24 12:12:18 +00:00
michl
b77917bbc2 LCL: TWinControl: refreshing RawImage data after painting on canvas. Issue #25448
git-svn-id: trunk@53790 -
2016-12-27 23:38:54 +00:00
ondrej
8d6fb55c21 lcl: customform: revert r53334 #0a383ad832, issue #31122
git-svn-id: trunk@53716 -
2016-12-18 12:22:07 +00:00
juha
b83fa220bb LCL: Don't require TForm.Handle in afterconstruction when scaling. Issue #31121, patch from Anton Kavalenka.
git-svn-id: trunk@53694 -
2016-12-15 19:47:51 +00:00
ondrej
b7048b98fc lcl: forms: execute AutoScale for Scaled := True only when not loading
git-svn-id: trunk@53693 -
2016-12-15 09:48:38 +00:00
ondrej
8c7043289d lcl: forms: add AutoScale method and execute it when setting Scaled := True
git-svn-id: trunk@53692 -
2016-12-15 09:00:04 +00:00
ondrej
46b5fb7228 lcl: forms: Scale0Fonts in AfterConstruction if MonitorPPI<>ScreenPPI
git-svn-id: trunk@53691 -
2016-12-15 08:57:10 +00:00
ondrej
d770925929 lcl: customform: don't change TopLeft in DoAutoAdjustLayout
git-svn-id: trunk@53690 -
2016-12-15 08:36:22 +00:00
ondrej
172aa765ac lcl: forms: use Monitor.PixelsPerInch for default scaling
git-svn-id: trunk@53689 -
2016-12-15 08:20:18 +00:00
mattias
224ed6f8cb lcl: comment
git-svn-id: trunk@53680 -
2016-12-14 14:28:58 +00:00
ondrej
c2e239e881 lcl: forms: move the DesignTimeDPI and Scaled properties from TForm to TCustomDesignControl - TFrame needs it as well.
git-svn-id: trunk@53622 -
2016-12-09 22:58:54 +00:00
ondrej
7ba71b1ba4 lcl: forms: introduce the LCLScaleForms define for enabling default Scaled=True
git-svn-id: trunk@53608 -
2016-12-09 07:51:42 +00:00
ondrej
f1f10c72f9 lcl, ide: highDPI: make designer DPI-aware
git-svn-id: trunk@53584 -
2016-12-06 21:28:02 +00:00
ondrej
33199744d0 lcl: highDPI: use TCustomDesignControl as ancestor for TFrame and TForm to share PPI properties.
git-svn-id: trunk@53580 -
2016-12-06 19:28:48 +00:00
ondrej
11cc148c2f lcl: highDPI: rename DesignTimeDPI to DesignTimePPI to comply with property <P>ixels<P>er<I>nch
git-svn-id: trunk@53572 -
2016-12-06 13:45:47 +00:00
ondrej
f48f4618a6 lcl: forms: highDPI: set PixelsPerInch to DesignTimeDPI in CreateNew
git-svn-id: trunk@53537 -
2016-12-03 06:47:59 +00:00
ondrej
c94e49018d lcl: forms: use a variable in WMDPIChanged. Issue #31050, by AlexeyT
git-svn-id: trunk@53529 -
2016-12-02 17:03:38 +00:00
ondrej
50b3234603 lcl: forms: highDPI: use the new AScaleFonts parameter in AutoAdjustLayout for automatic scaling.
git-svn-id: trunk@53517 -
2016-12-01 22:44:55 +00:00
ondrej
e5ef90de53 lcl: forms: highDPI: don't clear TCustomForm.PixelsPerInch in CreateWnd, related to r53512 #337925d861
git-svn-id: trunk@53515 -
2016-12-01 22:41:08 +00:00
ondrej
9304766a81 lcl: forms: highDPI: use AutoAdjustLayout instead of ScaleBy for DPI-scaling. Issue #31045, by AlexeyT
git-svn-id: trunk@53513 -
2016-12-01 22:03:27 +00:00
ondrej
337925d861 lcl: forms: highDPI: don't read TCustomForm.PixelsPerInch from Screen but use rather the value from design-time and update it on scale.
git-svn-id: trunk@53512 -
2016-12-01 21:38:39 +00:00
ondrej
2d8600e1fd lcl: forms: allow changing TCustomForm.DesignTimeDPI in runtime. Fix brackets.
git-svn-id: trunk@53511 -
2016-12-01 21:00:24 +00:00
ondrej
2612f8b61e lcl: forms: allow changing TCustomForm.DesignTimeDPI in runtime.
git-svn-id: trunk@53510 -
2016-12-01 20:55:10 +00:00
ondrej
5c4c3d1948 lcl: forma: change wParamhi to hi(wParam), issue #31043
git-svn-id: trunk@53502 -
2016-12-01 00:32:55 +00:00
ondrej
f4df715ad3 lcl: forms: highDPI: ScaleBy only when scale really changed.
git-svn-id: trunk@53501 -
2016-12-01 00:28:15 +00:00
ondrej
1c9c0abeb2 lcl: forms: highDPI: fix FPixelsPerInch assignment in WMDPIChanged (r53498)
git-svn-id: trunk@53500 -
2016-11-30 23:49:40 +00:00