michaellukashov / Far-NetBox

SFTP/SCP/FTP/FTPS/WebDAV/S3 client for Far Manager 3 (http://farmanager.com/)
https://forum.farmanager.com/viewtopic.php?t=6317
GNU General Public License v2.0
155 stars 52 forks source link

Fix dialog message #465

Closed ssvine closed 2 months ago

ssvine commented 2 months ago

This PR fixes this issues:

An example of buttons going out of borders: before

An example of fixed dialog, that also shows correct spacing and text wrapping: after

@michaellukashov, You should also fix test1 function in the file tests/testnetbox_02.cpp in far3-dev-tests branch:

    REQUIRE_EQUAL(3, MessageLines.GetCount());
    REQUIRE_EQUAL(L"long long long long", MessageLines.GetString(0));
    REQUIRE_EQUAL("long long long long", W2MB(MessageLines.GetString(1).c_str()));
    REQUIRE_EQUAL("long text", W2MB(MessageLines.GetString(2).c_str()));
sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud