Commit Graph

24378 Commits

Author SHA1 Message Date
wp_xyz
6a6db7e851 LCL/TApplication: ShowHintWindow calls ActivateHint when HintInfo.HintData is nil, otherwise ActivateHintData. 2025-03-17 19:23:15 +01:00
wp_xyz
209c68264b LCL/HintWindow: Removed the out-dated assertion in THintWindow.ActivateHint. Issue #41535. 2025-03-17 19:19:02 +01:00
Maxim Ganetsky
0845474588 LCL-Gtk2: fixed component position issues on bsSingle forms under Xfwm4, issue #41219 2025-03-12 15:29:00 +03:00
Maxim Ganetsky
7e1d786c38 LCL-Gtk2: Fixed pasting text from Combobox to some other application when selecting/middle-clicking.
Makes its behavior consistent with TEdit. Also avoids accessing
uninitialized variables.

Follow-up of:
18f1d06255
5f8eacc23d
2025-03-12 15:22:24 +03:00
zeljan1
33868eedbb Gtk3: thaw_notify will trigger changed, so removed unneeded gtk_adjustment_changed() 2025-03-12 11:48:14 +01:00
zeljan1
7ed32b4556 Gtk3: fixed wrong calculation of page_size and value, gtk uses different scrollbar calculation than winapi. 2025-03-12 11:15:17 +01:00
zeljan1
fff12f1750 Gtk3: fixed TGtk3Window.GetClientRect, must subtract scrollbar sizes if overlay scrollbars are used. 2025-03-10 20:47:07 +01:00
zeljan1
28a04f2144 Gtk3: fixed signature of RangeChangeValue 2025-03-10 17:09:44 +01:00
zeljan1
ce839dfa76 Gtk3: attach change-value and value-changed to the window, also reimplemented OffsetMousePos() 2025-03-10 15:45:06 +01:00
zeljan1
ec4ad2c184 Gtk3: better guess when scrollbars are logical 2025-03-10 13:10:05 +01:00
Martin
12afdd137b Win32: Prevent Splitter from activating the "resize bar" window. Avoid focus changes to the form, or its components. Issue #41506 Patch by Lipinast Lekrisov 2025-03-10 00:18:10 +01:00
zeljan1
e11d2d5969 Gtk3: cleanup. 2025-03-09 20:24:04 +01:00
zeljan1
c5c4076b98 Gtk3: cleanup. 2025-03-09 20:00:39 +01:00
zeljan1
85ffeaae19 Gtk3: proper cast and checks. 2025-03-09 19:14:46 +01:00
zeljan1
6e8ef84e2b Gtk3: implemented SetScrollInfo() for TGtk3Window. 2025-03-09 18:26:19 +01:00
zeljan1
a21db703fd Gtk3: connect ScrolledLayoutSizeAllocate, create internal adjustments for TGtk3Window. 2025-03-09 18:17:25 +01:00
zeljan1
ccda0b17c4 Gtk3: renamed CustomControlLayoutSizeAllocate to ScrolledLayoutSizeAllocate, moved to TGtk3ScrollableWin class so can be reused later by TGtk3Window. 2025-03-09 18:14:59 +01:00
zeljan1
158d270845 Gtk3: simplified code. 2025-03-09 18:09:33 +01:00
zeljan1
9de7888945 Qt5,Qt6: fixed designing on scrolled forms. issue #41517 2025-03-09 17:34:40 +01:00
zeljan1
b623211e02 Qt5,Qt6: do not wrap text in TStaticText. issue #41515 2025-03-08 20:07:47 +01:00
zeljan1
cb8c130883 Qt5,Qt6: make wheel scroll work at design time. issue #41512 2025-03-08 19:32:21 +01:00
Juha
fa2ad4f983 LCL: One more sanity check for a new Notebook page name. Issue #36957. 2025-03-08 00:29:16 +02:00
zeljan1
adf11362e1 Qt5,Qt6: fixed design time drawing of non visible controls over QAbstractItemView and QTextEdit classes. issue #41510 2025-03-07 22:41:01 +01:00
Juha
a641e34bff LCL: Improve getting an unused name for a new Notebook page. Issue #36957. 2025-03-07 18:11:30 +02:00
zeljan1
e4aee44726 Gtk3: improved scrollbars when scroll overlay is enabled. 2025-03-07 11:32:39 +01:00
zeljan1
5b22d571b2 Gtk3: fixed mess with mouse wheel events. 2025-03-07 10:23:35 +01:00
zeljan1
46def57926 Gtk3: fixed right mouse click behaviour. 2025-03-07 09:05:47 +01:00
zeljan1
b854217dd0 Gtk3: improved TGtk3CustomControl scrolling and sizing. 2025-03-06 20:54:54 +01:00
Juha
a3f095480f LCL: Figure out an unused name for a new Notebook page. Issue #36957. 2025-03-06 17:17:26 +02:00
Juha
eff9f6981c LazControls: Do not expand/collapse nodes uselessly. Issues #41454,#41455. 2025-03-06 12:53:58 +02:00
zeljan1
5a59ce23e7 Gtk3: fixed wrong assignment of TScrollBar params. 2025-03-06 10:09:33 +01:00
Juha
803ce231ce LCL/LazControls: Update Button.Enabled state of FilterEdit component when it is loaded. Issue #41321. 2025-03-05 21:10:56 +02:00
Juha
d6c7371e1f LazControls: Fix design time issues in FilterEdit controls. Issue #41321. 2025-03-05 21:10:56 +02:00
Aruna Hewapathirane
20d924570a LCL: Added Sinhala (Sri Lanka) translation, merge request !444 2025-03-05 19:02:24 +03:00
n7800
19319bf7de Correction of dubious indentation in the code 2025-03-05 10:41:32 +00:00
rich2014
25e632015e LCL: fix a bug in ListView introduced @0e0ef8c where the checked state was not restored correctly after sorting. 2025-03-04 22:01:35 +08:00
zeljan1
d73ca45293 Gtk3: improved calculation of content size of TScrollingWinControl. 2025-03-04 13:47:18 +01:00
zeljan1
7a4ede3fa4 Gtk3: proper resize of LCLGtkFixed inside SrollingWindow, also mouse offset is needed to make LCL happy. 2025-03-04 09:55:10 +01:00
zeljan1
8574b341e5 Gtk3: overrided GtkFixed so we can set minimum sizes. Will be used in scrollbox and similar. 2025-03-04 09:23:09 +01:00
zeljan1
00a355408e Qt5,Qt6: fixed QtComboBox sorted property. issue #41502 2025-03-03 08:33:20 +01:00
zeljan1
41593d7fba Qt,Qt5,Qt6: checkbox offset should be applied only to the first column where checkbox resides. issue #41496 2025-03-01 18:04:56 +01:00
zeljan1
283bf2e564 Gtk3: fixed TGtk3CustomControl.getClientRect, accidentally removed part of code in previous commit.issue #41498 2025-03-01 16:59:11 +01:00
zeljan1
9d39dd3e25 Qt,Qt5,Qt6: fixed multiple memleaks with QIcon. issue #41497 2025-03-01 16:35:55 +01:00
zeljan1
81493e2a7d Gtk3: cleanup. 2025-03-01 13:12:33 +01:00
zeljan1
66a50ddd0e Gtk3: finally fixed gtk philosophy how content size and adjustments should be calculate so gtk is happy, now TCustomControl have correct scrollbars calculations. 2025-03-01 13:02:41 +01:00
rich2014
07609dbba2 Cocoa: fix and simplify TCocoaPanel and TCocoaWindow #41477 2025-03-01 18:17:27 +08:00
zeljan1
45eabe826d Qt,Qt5,Qt6: fixed vertical alignment of text.issue #41465 2025-02-28 15:56:50 +01:00
zeljan1
6d4ad25144 Qt,Qt5,Qt6: fixed TListView subItem images after changing items order.issue #41465 2025-02-27 21:04:04 +01:00
Bart
f186f03d2d LCL: some changes to comments of enums in Buttons and ComCtrls unit. No functional changes. Patch by Alexey Torgashin, slightly modified by me. Part of Issue #41365. 2025-02-27 13:51:05 +01:00
Bart
80b284e5dd LCL: some changes to comments of enums in Dialogs and ExtCtrls unit. No functional changes. Patch by Alexey Torgashin, slightly modified by me. Part of Issue #41365. 2025-02-27 13:41:45 +01:00