Commit Graph

6755 Commits

Author SHA1 Message Date
Željan Rikalo
909982cc9c LCL: Fixed memleak in TCustomListView. TFPList can be created but never freed. 2023-01-15 00:28:40 +01:00
Bart
3a944f112d Dialogs: fix compliation with fpc < 3.2.2 after commit #70688d5a (2nd try) 2023-01-14 00:25:55 +01:00
Bart
76c9b140ac Dialogs: fix compliation with fpc < 3.2.2 after commit #70688d5a 2023-01-13 22:57:28 +01:00
Bart
70688d5a1f Dialogs: simplify internal helper function. 2023-01-13 15:08:06 +01:00
Juha
49c7830b4a LCL: Call OnShow event also for a maximized form. Issue #40043. 2023-01-01 14:11:46 +02:00
wp_xyz
5f76b3e31c LCL: additional fix to TWinControl.GetClientRect wcfBoundsRealized (DockedFormEditor issue), issue #40052. Patch by rich2014. 2022-12-27 15:48:12 +01:00
mattias
1b9e56b56c lcl: fixed TWinControl.GetClientRect wcfBoundsRealized, issue #40052 2022-12-19 22:04:09 +01:00
Ondrej Pokorny
96291eb9a5 TPanel: fix csOpaque style inconsistency (it depended on the order of ParentColor/ParentBackground change) 2022-12-14 21:49:24 +01:00
Ondrej Pokorny
7d00a524a4 TScrollBox: make opaque for ParentColor=False and ParentBackground=False. Issue #40047 2022-12-14 21:49:24 +01:00
Bart
1e302eb754 LCL: improve the construction of some messages for TTreeView. Modified patch by Alexey Torgashin. Issue #39592. 2022-12-05 22:21:09 +01:00
Bart B
1af6a0e61f Merge branch 'lcl/notebook' into 'main'
FIX #40019: LCL/TPageControl: FIX algorithm of clear tabs in TNBPages.Clear()

See merge request freepascal.org/lazarus/lazarus!122
2022-12-03 14:10:15 +00:00
Ondrej Pokorny
2a1ea2ca04 Revert "lcl: label: align to right for autosize and taRightJustify (Delphi compatibility)"
This reverts commit 29996ddc03.
2022-11-30 10:16:12 +01:00
Ondrej Pokorny
f1b3d0ca11 Revert "lcl: label: change left when making label visible for right-aligned autosized label. issue #21898"
This reverts commit 369b6b255e.
2022-11-30 10:16:12 +01:00
Ondrej Pokorny
369b6b255e lcl: label: change left when making label visible for right-aligned autosized label. issue #21898 2022-11-27 19:18:45 +01:00
rich2014
b2611478d9 LCL/TPageControl: FIX algorithm of clear tabs in TNBPages.Clear() 2022-11-26 19:23:15 +08:00
wp_xyz
68e6168982 LCL/TaskDialog: Add new property Width to override the default width. 2022-11-23 23:43:18 +01:00
mattias
8b8ac1696f lcl: TBitBtn: fixed typo 2022-11-18 08:10:34 +01:00
Maxim Ganetsky
202b5682ae LCL: TWinControl.DoRemainingKeyUp argument should have TLMKeyUp type, not TLMKeyDown (most likely copy-paste error). All use cases of TWinControl.DoRemainingKeyUp (in WMSysKeyUp and WMKeyUp) are passing TLMKeyUp arguments. Note that both TLMKeyUp and TLMKeyDown are aliases to TLMKey. Patch by Don, issue #40001. 2022-11-17 02:15:46 +03:00
Ondrej Pokorny
843dc303af win32: DPI-aware menus 2022-11-16 00:44:52 +01:00
zamtmn
f3b838df8c Prevent AV 2022-11-15 04:10:13 +03:00
zamtmn
989070fa91 Fix issue #39923 (AnchorDocking Docked forms sometimes overlap) 2022-11-15 04:09:52 +03:00
wp_xyz
1b3c13f9b9 lcl/(shell)treeview: Fix FindNodeWithTextPath not working for ShellTreeView in Linux. 2022-11-08 16:36:02 +01:00
wp_xyz
3f3e32ce9b lcl/(Shell)TreeView: Add "FindOptions" so that FindNodeWithTextPath works in TShellTreeView even with collapsed nodes and in case-insensitive file systems. 2022-11-08 15:55:17 +01:00
wp_xyz
9cce03ac94 LCL/(Shell)TreeView: Add property PathDelimiter to TCustomTreeView to allow OS path delimiter in ShellTreeView. 2022-11-08 15:30:03 +01:00
wp_xyz
58f237f04c LazControls: Fix LCLScaling of TColorButton.ButtonColorSize and .BorderWidth. 2022-11-07 22:25:58 +01:00
Juha
f45f3610f4 LCL: Fix TControl handler methods and arguments. Issue #39974, patch by Don Siders. 2022-11-02 19:46:16 +02:00
wp_xyz
1799775107 LCL/Graphics: Avoid separate calculation of sin and cos in AngleArc(). Issue #39983. 2022-11-02 12:38:12 +01:00
Bart
4b4e2cef9c Win32: handle System.CmdShow at startup. Patch by Domingo Galmés, slightly modified by me. Issue ##39363. 2022-10-29 18:41:27 +02:00
wp_xyz
eff48575cf LCL/TPanel: New property ShowAccelChar to improve Delphi compatibility in rendering of ampersands. Issue #39973. 2022-10-28 00:09:56 +02:00
wp_xyz
fbe7aa44e1 LCL/SpeedButton: Fix clipping of caption containing double ampersand characters, issue #39820. 2022-10-27 22:27:35 +02:00
Juha
e27cc45f6c LCL: Make TDBCheckbox events consistent with VCL and with TCheckBox. Issue #39917, patch by Arioch The. 2022-10-04 16:59:38 +03:00
Ondrej Pokorny
62cb85cb4b LCL: task dialog: add tfForceNonNative Flag 2022-10-02 11:40:37 +02:00
Ondrej Pokorny
da539c7b9c IDE: load High-DPI images 2022-09-29 00:59:16 +02:00
Ondrej Pokorny
016d9d0534 TPromptDialog: high-DPI 2022-09-28 23:32:17 +02:00
Ondrej Pokorny
a7d0453a6e LCL: TImage: TImageList support (properties Images, ImageIndex and ImageWidth) 2022-09-28 20:25:36 +02:00
Ondrej Pokorny
6a416779cd Revert "LCL: new component TImageListImage (that displays an image from TImageList instead of a TPicture)"
This reverts commit cac82fb704.
2022-09-28 19:40:32 +02:00
Ondrej Pokorny
a3b65673ed LCL: image list: AddMultipleResolutions with TRasterImage overload 2022-09-28 16:22:54 +02:00
Ondrej Pokorny
cac82fb704 LCL: new component TImageListImage (that displays an image from TImageList instead of a TPicture) 2022-09-28 16:10:01 +02:00
Martin
5882a5bfb5 LCL: TaskDialog, fix default radio-button 2022-09-27 12:16:13 +02:00
Juha
9f577dc548 LCL: Add an option to NOT call TCheckbox OnChange handler when clicked. Issue #39870, patch by Arioch The. 2022-09-18 21:31:59 +03:00
Bart
95cfa51d1b TFloatSpinEdit(Ex): fix crash in OI when setting MaxValue/MinValue/Increment. Issue #39792. 2022-09-17 19:03:18 +02:00
wp_xyz
6d123c6ac8 LCL/Toolbar: Fix incorrect high-dpi scaling of toolbuttons due to hard-coded constant margins. 2022-09-13 21:55:27 +02:00
wp_xyz
7db50f95cc LCL: Increase distance between TToolButton icon and text in List mode. 2022-09-11 18:12:06 +02:00
Juha
8eec551e93 LCL: Improve Checkbox / TAction synchronization. Issue #39869. 2022-09-08 10:21:59 +03:00
mattias
5852af11e6 lcl: TApplication.IsShortcut: check if mainform handleallocated 2022-08-31 23:20:41 +02:00
Martok
e4043024da lcl, win32: move TCustomCheckListBox WS specific settings to WS implementataion
Other widgetsets use widgets with builtin check support, no need to have
ownerdraw details in the LCL class
+ publish OnMeasureItem, it can now be used like TCustomListBox
2022-08-30 02:29:36 +03:00
Martok
1161c4a75a LCL: don't call LB_GETITEMRECT from LM_MEASUREITEM handler (issue #39653) 2022-08-30 02:29:36 +03:00
wp_xyz
7950515229 LCL: Revert 0c285d6eb9 (fixes issue #39861). 2022-08-17 22:59:27 +02:00
wp_xyz
13f4f576ab LCL/extctrls: Add new TCustomPanel/TPanel property VerticalAlignment which exists in Delphi. 2022-07-19 19:28:16 +02:00
wp_xyz
e10b896d7e LCL/FloatSpinEdit: Fix KeyPress swallowing the 'e' of exponential notation. 2022-06-10 17:21:36 +02:00