1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-21 22:12:58 +02: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:
James Crook
2018-08-10 15:35:06 +01:00
parent c95532012a
commit 7f96f85676
6 changed files with 21 additions and 0 deletions

View File

@@ -114,6 +114,8 @@ LyricsWindow::LyricsWindow(AudacityProject *parent):
//pToolBar->Realize();
mLyricsPanel = safenew LyricsPanel(this, -1, panelPos, panelSize);
RTL_WORKAROUND(mLyricsPanel);
//vvv Highlight style is broken in ported version.
//switch (mLyricsPanel->GetLyricsStyle())