rich2014
d2dec71025
Cocoa: fix the issue that Overlay Style Scroller sometimes could not be hidden correctly
...
1. it's because when the user scrolls the ScrollView, LM_VSCROLL/LM_VSCROLL messages are sent to LCL in NSScrollView.scrollWheel()
2. when LCL processes these messages, it sets the position of NSScrollView by calling SetScrollInfo()
3. if NSScrollView is in the animation effect at this time, the Scroller will not be hidden after the animation
4. by adding functions, it is possible to distinguish whether the scrolling is initiated by the user or by LCL. if it is initiated by the user, there is no need to set the position of NSScrollView.
2024-06-20 22:16:27 +08:00
rich2014
75e896342d
Cocoa: scrollContentViewBoundsChanged() removed
2024-06-20 22:06:59 +08:00
rich2014
62cf9b2bae
Cocoa: Fix the Scrolling issue on TCustomControl
2024-06-20 22:06:59 +08:00
rich2014
dfc1bbeec2
Cocoa: Fix the issue that the ScrollBars of corresponding TScrollingWinControl were not updated correctly
2024-06-20 22:06:59 +08:00
rich2014
eacd34023f
Cocoa: Fix Message Result in TCocoaWidgetSet.CallDefaultWndHandler.CallMouseWheelHandler()
2024-06-20 22:06:59 +08:00
rich2014
bc7ef3d1eb
Cocoa: Fix rect in TLCLCommonCallback.DrawBackground()
2024-06-20 22:06:59 +08:00
rich2014
2bb8922ae8
Cocoa: remove circular unit references, add CocoaWSScrollers unit
2024-06-20 22:06:59 +08:00
rich2014
595fd26f3f
Cocoa: fix the size issue of Scrolling Control with Overlay Style Scroller
2024-06-20 22:06:59 +08:00
rich2014
1459f56c95
Cocoa: fix the size of Overlay Style Scroller in TCocoaWidgetSet.GetScrollBarSize()
2024-06-20 22:06:59 +08:00
rich2014
95b9ef2414
Cocoa: set the size of documentView directly
2024-06-20 22:06:59 +08:00
rich2014
7a6431df57
Cocoa: prepare for setting the size of documentView instead
...
1. previously, documentView relied on AutoresizingMask, and the size was automatically set by NSScrollView
2. but setting the autoresizingMask itself introduces a lot of complexity
3. and the effect is not always as expected
4. therefore, it is decided to directly set the size of documentView
2024-06-20 22:06:59 +08:00
rich2014
1c77cb1974
Cocoa: Fix the issue of missing sending LM_CUT/LM_PASTE to LCL
2024-06-14 23:08:28 +08:00
rich2014
d3de8e2ac7
Cocoa: Fix min/max range limit in TCocoaSpinEdit(TSpinEdit)
2024-06-10 14:11:16 +08:00
rich2014
04c15dace4
Cocoa: fix the context setting in TCocoaReadOnlyComboBox(TComboBox)
2024-06-10 10:42:16 +08:00
rich2014
49c3fad6bc
Cocoa: fix the Drawing in Controls with Flipped coordinates
2024-06-10 10:35:00 +08:00
rich2014
7b3b982402
Cocoa: fix the setting of SpinEdit with Flipped coordinates
2024-06-10 10:35:00 +08:00
rich2014
1686a8c9d1
Cocoa: fix the setting of ScrollView with Flipped coordinates
2024-06-10 10:35:00 +08:00
rich2014
d6afcd1953
Cocoa: fix the setting of Custom Control with Flipped coordinates
...
Note that on Cocoa:
1. Not Flipped: opposite to win32
2. Flipped: like win32
2024-06-10 10:35:00 +08:00
rich2014
ef3054c557
Cocoa: Fix the issue introduced @ 8ecc0ea
...
for example, the Icon cannot be displayed normally in VirtualTrees
2024-06-09 14:09:21 +08:00
rich2014
f703b65dd6
Cocoa: Fix the issue introduced @8bdb42c
...
for example, the Header cannot be displayed normally in VirtualTrees
2024-06-09 14:03:00 +08:00
rich2014
37aad3d3d2
Cocoa: Fix the context size in TCocoaTableListView.drawRow_clipRect (TListBox)
2024-06-06 23:17:10 +08:00
rich2014
8bdb42c45c
Cocoa: refactor in TCocoaThemeServices
2024-06-06 10:51:40 +08:00
rich2014
8ecc0ea6cc
Cocoa: refactor in TCocoaContext.StretchDraw()
2024-06-06 10:51:40 +08:00
rich2014
9376f57403
Cocoa: SetCGFillping/RestoreCGFillping removed
2024-06-06 10:51:40 +08:00
rich2014
df77d2766e
Cocoa: fix drawing issue for custom-drawn listbox (issue #36714 )
2024-06-06 10:51:40 +08:00
rich2014
b7183648e0
Cocoa: fix up-side down issue with Transparent Bitmaps (issue #36714 )
2024-06-06 10:51:40 +08:00
rich2014
fc41ca2ea9
Cocoa: Fix "Access Violation" in TCocoaWSCustomListView.SetImageList(), by Michalis Kamburelis
2024-06-03 08:42:23 +08:00
rich2014
258a7a49c4
Cocoa: make MenuItem State Images configurable
2024-06-01 20:47:57 +08:00
rich2014
cf8e697705
Cocoa: adapt Radio MenuItem to Dark Theme
2024-06-01 20:33:55 +08:00
rich2014
728ef54055
Cocoa: LM_CONTEXTMENU is sent when the right mouse button is released instead of being pressed
...
1. consistent with Win32
2. avoids the problem that is easy to occur in APP, because the context menu pops up after the APP receives LM_CONTEXTMENU, which will lose the LM_MOUSEUP event. For example, in IDE Form Designer, if you right-click to pop up the context menu, after closing the context menu, the Designer is still in the MouseDown state by mistake
2024-05-29 21:37:53 +08:00
rich2014
7aa562e49c
Cocoa: TSplitter fixed, issue #40974
2024-05-28 22:33:25 +08:00
Juha
c4389f1922
LCL-GTK2: Fix PageControl.ActivePage. Issue #40962 , patch by Iluha Companets.
2024-05-28 09:17:04 +03:00
rich2014
648a0b25fc
Cocoa: macOS_DockMenuIntf added to facilitate APP to operate Dock Menu
2024-05-27 22:10:35 +08:00
rich2014
4df4532e13
Cocoa: macOS_AppMenuIntf added to facilitate APP to operate App Menu
2024-05-27 22:08:19 +08:00
rich2014
43bac2286a
Cocoa: a better way to find the Edit menu in Open/Save Dialog
...
in the past, it's only relied on title matching. in a multi-language environment, it is possible to use different vocabulary and cause mismatching. now a shortcut key matching method is added.
2024-05-25 16:41:14 +08:00
rich2014
f51005880f
Cocoa: Edit Menu i18n supported
2024-05-25 01:26:43 +08:00
rich2014
1adfc7d4a3
Cocoa: remove the acceleration in Menu/Tab title, make it consistent with macOS idioms
2024-05-24 20:25:11 +08:00
Željan Rikalo
55d6674aef
Gtk2: fixed build under win32.Patch by Alexander (Rouse_) Bagel.part of issue #40659
2024-05-24 07:07:53 +02:00
rich2014
50ae432ee7
Cocoa: add shortcut support in Open/Save Dialog (Copy/Cut/Paste/SelectAll/Undo/Redo)
...
implemented by inserting a special Edit menu
2024-05-23 22:56:05 +08:00
rich2014
5a556f6074
Cocoa: Fix the position issue in TCocoaManualScrollHost.setFrame()
...
for example: TTreeView
2024-05-19 17:27:17 +08:00
rich2014
5ad1922ccb
Cocoa: Fix an issue where the position was reset when changing the size of a scrollable control
...
for example, Source Editor in Lazarus IDE.
2024-05-16 23:38:58 +08:00
rich2014
34f8d18775
Cocoa: fix #40622 in TCocoaCustomControl that if the frame is changed during the Paint event
2024-05-15 23:23:10 +08:00
rich2014
fe9c580e1b
Cocoa: CallMouseWheelHandler() improved
2024-05-13 23:31:33 +08:00
rich2014
1ec049f943
Cocoa: add LM_MOUSEWHEEL default implement in TCocoaWidgetSet.CallDefaultWndHandler()
...
the default implementation is to convert LM_MOUSEWHEEL/LM_MOUSEHWHEEL events into LM_VSCROLL/LM_HSCROLL events
2024-05-13 23:28:20 +08:00
rich2014
dca0f86606
Cocoa: Fix the scrollWheel event processing logic on TCocoaScrollBar
2024-05-13 23:18:13 +08:00
rich2014
8c85159e27
Cocoa: reset the cursor to the default when the mouse is on the ScrollBar
...
for example, previously, in the Lazarus IDE editor, the IBeam cursor might be retained when the mouse moved over the scroll bar.
2024-05-12 16:31:53 +08:00
rich2014
8e1a3f0d02
Cocoa: Fix #40939 arithmetic overflow in TabControl
2024-05-12 16:24:38 +08:00
Zoë Peterson
6297d5b089
Qt5,Qt6: Fixed TQtThemeServices.GetDetailSizeForPPI double-scaling Result
2024-05-09 18:59:22 +00:00
Željan Rikalo
0a7ff2fb3d
Qt5,Qt6: fixed readOnly status for TQtTextEdit on FreeBSD. issue #40930
2024-05-04 17:45:59 +02:00
wp_xyz
4186cfe014
LazUtils: Deprecate IsNumber(), rename to IsNumeric() for better clarity. Check for empty input string, issue #40935 , patch by Ph B.
2024-05-01 12:10:49 +02:00