mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-21 13:41:21 +01:00
Add some Right-To-Left language workarounds.
MixerBoard, LyricsWindow, Screenshot and most effects are now LTR in RTL locales. Also added a pref so this can be overridden. As RTL affects window creation, the language choice and this preference may only fully take effect after a restart of Audacity.
This commit is contained in:
@@ -912,6 +912,7 @@ MixerBoard::MixerBoard(AudacityProject* pProject,
|
||||
// mScrolledWindow->SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_3DSHADOW));
|
||||
// #endif
|
||||
mScrolledWindow->SetBackgroundColour( theTheme.Colour( clrMedium ) );
|
||||
RTL_WORKAROUND(mScrolledWindow);
|
||||
|
||||
mScrolledWindow->SetScrollRate(10, 0); // no vertical scroll
|
||||
mScrolledWindow->SetVirtualSize(size);
|
||||
|
||||
Reference in New Issue
Block a user