diff --git a/Library/DialogAbout.cpp b/Library/DialogAbout.cpp index 8b4fc133..8eb3f5c1 100644 --- a/Library/DialogAbout.cpp +++ b/Library/DialogAbout.cpp @@ -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 diff --git a/Library/DialogManage.cpp b/Library/DialogManage.cpp index 7ef08cf3..490b8cef 100644 --- a/Library/DialogManage.cpp +++ b/Library/DialogManage.cpp @@ -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