fixed bug #1283528 - WS_EX_LEFTSCROLLBAR missing in RTL mode
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4274 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
6a61224015
commit
6a76589a72
2 changed files with 17 additions and 16 deletions
|
@ -494,11 +494,11 @@ void CDialogTemplate::ConvertToRTL() {
|
|||
if (addExStyle)
|
||||
m_vItems[i]->dwExtStyle |= WS_EX_RIGHT;
|
||||
|
||||
m_vItems[i]->dwExtStyle |= WS_EX_RTLREADING;
|
||||
m_vItems[i]->dwExtStyle |= WS_EX_RTLREADING | WS_EX_LEFTSCROLLBAR;
|
||||
|
||||
m_vItems[i]->sX = m_sWidth - m_vItems[i]->sWidth - m_vItems[i]->sX;
|
||||
}
|
||||
m_dwExtStyle |= WS_EX_RIGHT | WS_EX_RTLREADING;
|
||||
m_dwExtStyle |= WS_EX_RIGHT | WS_EX_RTLREADING | WS_EX_LEFTSCROLLBAR;
|
||||
}
|
||||
|
||||
// Saves the dialog in the form of DLGTEMPLATE[EX]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue