mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Fixed dialog layout with RTL languages
This commit is contained in:
parent
6a44aae5fc
commit
4e16218dec
@ -62,7 +62,7 @@ void CDialogAbout::Open(int tab)
|
||||
GetString(ID_STR_ABOUTRAINMETER),
|
||||
0, 0, 400, 210,
|
||||
DS_CENTER | WS_POPUP | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME,
|
||||
WS_EX_APPWINDOW | WS_EX_CONTROLPARENT,
|
||||
WS_EX_APPWINDOW | WS_EX_CONTROLPARENT | ((*GetString(ID_STR_ISRTL) == L'1') ? WS_EX_LAYOUTRTL : 0),
|
||||
Rainmeter->GetWindow());
|
||||
|
||||
// Fake WM_NOTIFY to change tab
|
||||
|
@ -89,7 +89,7 @@ void CDialogManage::Open(int tab)
|
||||
GetString(ID_STR_MANAGERAINMETER),
|
||||
0, 0, 500, 322,
|
||||
DS_CENTER | WS_POPUP | WS_MINIMIZEBOX | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME,
|
||||
WS_EX_APPWINDOW | WS_EX_CONTROLPARENT,
|
||||
WS_EX_APPWINDOW | WS_EX_CONTROLPARENT | ((*GetString(ID_STR_ISRTL) == L'1') ? WS_EX_LAYOUTRTL : 0),
|
||||
Rainmeter->GetWindow());
|
||||
|
||||
// Fake WM_NOTIFY to change tab
|
||||
|
Loading…
Reference in New Issue
Block a user