mirror of
https://github.com/valinet/ExplorerPatcher.git
synced 2024-11-23 23:21:08 +01:00
GUI: Increased window width for all languages (#2574)
This commit is contained in:
parent
ec68783677
commit
3c0b4a9b72
@ -1054,8 +1054,8 @@ static BOOL GUI_Build(HDC hDC, HWND hwnd, POINT pt)
|
||||
DttOpts.crText = g_darkModeEnabled ? GUI_TEXTCOLOR_DARK : GUI_TEXTCOLOR;
|
||||
DWORD dwTextFlags = DT_SINGLELINE | DT_VCENTER | DT_END_ELLIPSIS;
|
||||
RECT rcText;
|
||||
DWORD dwMinWidthDp = 480;
|
||||
if (!wcscmp(wszThreadLanguage, L"nl-NL")) dwMinWidthDp = 600;
|
||||
DWORD dwMinWidthDp = 600; // 480
|
||||
// if (!wcscmp(wszThreadLanguage, L"nl-NL")) dwMinWidthDp = 600;
|
||||
DWORD dwMaxHeight = 0, dwMaxWidth = (DWORD)(dwMinWidthDp * (_this->dpi.x / 96.0));
|
||||
BOOL bTabOrderHit = FALSE;
|
||||
DWORD dwLeftPad = _this->padding.left + _this->sidebarWidth + _this->padding.right;
|
||||
|
@ -49,7 +49,7 @@ extern HMODULE hModule;
|
||||
#define GUI_MAX_TABORDER 9999
|
||||
#define GUI_PADDING 5
|
||||
#define GUI_PADDING_LEFT GUI_PADDING * 3
|
||||
#define GUI_SIDEBAR_WIDTH 110
|
||||
#define GUI_SIDEBAR_WIDTH 140 // 110
|
||||
#define GUI_PADDING_RIGHT GUI_PADDING * 3
|
||||
#define GUI_PADDING_TOP GUI_PADDING
|
||||
#define GUI_PADDING_BOTTOM GUI_PADDING
|
||||
|
@ -97,7 +97,7 @@ BEGIN
|
||||
IDS_TRAY_SHOWDESKTOPBTN_2 "Hidden"
|
||||
IDS_TRAY_SKINICONS "Apply Windows 11 style to system tray icons"
|
||||
IDS_TRAY_REPLACENETWORK_L1 "Choosing 'Open Network && Internet settings' when right clicking the"
|
||||
IDS_TRAY_REPLACENETWORK_L2 "network icon should open:"
|
||||
IDS_TRAY_REPLACENETWORK_L2 "network icon should open"
|
||||
IDS_TRAY_REPLACENETWORK_0 "Network section in the Settings app (default)"
|
||||
IDS_TRAY_REPLACENETWORK_1 "Network and Sharing Center in Control Panel"
|
||||
IDS_TRAY_REPLACENETWORK_2 "Network Connections in Control Panel"
|
||||
|
Loading…
Reference in New Issue
Block a user