1
0
mirror of https://github.com/winscp/winscp.git synced 2026-10-24 02:28:55 +03:00

9 Commits

Author SHA1 Message Date
Martin Prikryl
bef9590333 All edit boxes with history consistently do not auto complete and show 16 entries in the drop down
Source commit: 23bb0d3bbe0fe9a8b548d2376b6fa00d8ae7f496
2025-11-07 01:22:46 +01:00
Martin Prikryl
09a3983282 Streamlining edit history implementation + Bug fix: Some edits did not save their value to history when submitting with Enter
Source commit: 831a1ec2dd65d1dca58fcba246d02c77e156bcc6
2025-11-07 01:19:34 +01:00
Martin Prikryl
49d44c3244 Bug fix: Scaling was broken by 9485cb3f
Enabling ParentFont for forms in BCB11 broke scaling. VCL does not enable ParentFont for new forms either. Also with ParentFont enabled, designing on scaled display does not work correctly.

Source commit: c725084391e00822c953479b6426cf007914b711
2025-03-27 12:27:53 +01:00
Martin Prikryl
9485cb3f7d Switching to Segoe UI font with slightly larger size (9) as recommended for Windows Vista and newer + All windows are now slightly larger accordingly and their layout was unified
Reverts e55f27da
Fixing some anchors and tab order on the way
Dialogs (and controls with specific width or height) are now about 10% wider

Note that main form already used the Segoe UI:9 by explicitly using UseDesktopFont for most/all of its controls

Layout rules
- follow IDE design guidelines in general
- controls start at 8x8, but at 9x9 in group boxes and 22v if group has title
- right and bottom padding in groupbox is the same as left padding
-for checkboxes the bottom padding of the checkmark is the same as left padding = 10
- buttons are 80x25 by default, with +14v with dropdown
- checkboxes/radiobuttons are +2h
- labels are 15 high, textboxes/comboxes 23
- indentation is controls under checkboxes is +16h

Source commit: 09a558e92af838e142d3624cb433cc052782881c
2025-01-16 16:27:20 +01:00
Martin Prikryl
1bd51d52d1 Updating DPI scaling to BCB11
– Control's Canvas does not have Font updated when painting, so it needs to be set explicitly in some places
– Page control drawing was not only incompatible, but broken in general, so it was refactored – giving up on trying to make it 100% mimic system drawing
– CM_DPICHANGED replaced with OnAfterMonitorDpiChanged for form-level scaling. Not really necessary, just for style. Though it is not called for initial resize (at least when starting on primary monitor with temporary non-system DPI)
– OnResize is not called for DPI change, so in some instances, some OnResize call was duplicated in OnAfterMonitorDpiChanged/CM_DPICHANGED
– Scaling of thirdparty box still does not work correctly (but Updates box works??)
– Scaling on primary monitor with temporary non-system DPI is bad
– TTreeView enabled DPI scaling when using Images that is not Scaled
– Discaring obsolete FSiteButtonsPadding workaround
– Controls programmatically added to form are automatically scaled to the form's DPI (relevant for message boxes)

Source commit: a86dddbfada30a5bc409687489bdcd12842050af
2024-11-08 10:55:22 +01:00
Martin Prikryl
e55f27dab3 Temporary reverting font to Tahoma:8 (from default BCB 11's Segoe UI:9) to match the windows layout
Source commit: 815a497dffe349865a283f50ec0cd4af92cb3489
2024-10-08 15:54:52 +02:00
Martin Prikryl
89c431ba80 Automatic form code changes by C++ Builder 11
Source commit: 93a8626bdfe70760db3d4915380ca2179f2cca91
2024-10-08 15:50:17 +02:00
Martin Prikryl
bfea7e51a3 Accelerator was visible on Target path label on Copy dialog and it wasn't associated with the exit box
Source commit: 1e6382dc89fe8630fcdad635457f23ab68a16a80
2023-02-18 01:07:30 +01:00
Martin Prikryl
5156f7cbcb Local-local copy options dialog, including an operation mask support
Source commit: 3187d463d0b664039658d333b42b3a15d79af909
2020-10-06 01:56:28 +02:00