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

17 Commits

Author SHA1 Message Date
Martin Prikryl
0b6147e599 Fixing button alignment broken by 9485cb3f
Source commit: 63412acba9f9c86398451b3eb8120414d6acf58e
2025-05-28 01:03:59 +02:00
Martin Prikryl
27a9163e0b TPasswordEdit is not needed as VCL supports ES_PASSWORD style with TEdit
... and did already in XE6.
Getting rid of TPasswordEdit will also make it easier to subclass edits by reducing number of classes in use.

Source commit: 0f32c7a6cdb1bab0c966215770ea923cfdae5c58
2025-05-23 01:18:15 +02: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
0faf11d07d More explicit "Open Link" for Bug 1930 for 6.0 branch
Source commit: 4dd5d900e0c07c21f2d1e87980288c2a920f3741
2020-12-29 00:44:32 +01:00
Martin Prikryl
ac3e58b29e Bug 1930: Keyboard-interactive authentication challenges can be copied to the clipboard and links contained in the challenges can be opened
https://winscp.net/tracker/1930

Source commit: 705dcf35b547fee28c4b6d341f9289936529f95c
2020-12-29 00:43:02 +01:00
Martin Prikryl
7c463912fd Standardizing component names
And preparing the action list to contain non-banner actions

Source commit: 15fdc72a3ed18eacd366d047b596f7b4f0b891be
2020-12-29 00:41:41 +01:00
Martin Prikryl
14c15ca661 Bug 1916: Displaying, what directory is being read at the end of login to a server, in a tooltip
https://winscp.net/tracker/1916

Source commit: 1d15a55ec87c1221b87d6654c8c5296ad6bf8966
2020-10-30 00:46:04 +01:00
Martin Prikryl
04f0bbdc37 Bug 1588: Optionally display authentication banner in a monospaced font
https://winscp.net/tracker/1588

Source commit: 47a7d8bc1649823310931b2d53a0882f1318c861
2018-01-28 17:13:51 +01:00
Martin Prikryl
4b7cc63bcf Wrapping too long entries in authentication log to avoid horizontal scrollbar
Source commit: 539c34a2f9b6f0ea86dc6a797d1953f3388566a0
2018-01-24 18:48:14 +01:00
Martin Prikryl
d8f92984b9 First public commit of dev branch
Source commit: 98cb9d870efc1c60826db4398ec35c5cbe809e6a
2018-01-24 14:13:46 +01:00
Martin Prikryl
0b4c19ead3 5.2.4 2018-01-11 15:31:27 +01:00
Martin Prikryl
2908ab65ca 5.2.1 2018-01-11 15:30:34 +01:00
Martin Prikryl
2e4b4738f0 5.2 2018-01-11 15:30:21 +01:00