mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-22 10:55:19 -04:00
[loc] fix tooltip justification for RTL languages
* Left alignment was used instead of right * Also improve device tooltip display
This commit is contained in:
parent
070e28aa5a
commit
db6a5bb749
3 changed files with 14 additions and 9 deletions
|
@ -1112,7 +1112,8 @@ BOOL CreateTooltip(HWND hControl, const char* message, int duration)
|
|||
}
|
||||
|
||||
// Create the tooltip window
|
||||
ttlist[i].hTip = CreateWindowExW(0, TOOLTIPS_CLASS, NULL, WS_POPUP | TTS_NOPREFIX | TTS_ALWAYSTIP,
|
||||
ttlist[i].hTip = CreateWindowExW(right_to_left_mode ? WS_EX_LAYOUTRTL : 0,
|
||||
TOOLTIPS_CLASS, NULL, WS_POPUP | TTS_NOPREFIX | TTS_ALWAYSTIP,
|
||||
CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, hMainDialog, NULL,
|
||||
hMainInstance, NULL);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue