1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-31 07:59:27 +02:00

Wider Audacity and wider meters, now that we are agreed 1000px is fine for a minimum width.

This entailed rearranging the toolbar order.  I've set the width to 940px, but am tempted to take it all the way to 1000.
This commit is contained in:
james.k.crook@gmail.com 2014-11-08 18:51:00 +00:00
parent cb7d090cd6
commit d9d193a1ea
4 changed files with 8 additions and 8 deletions

View File

@ -547,7 +547,7 @@ void GetDefaultWindowRect(wxRect *defRect)
{
*defRect = wxGetClientDisplayRect();
defRect->width = 780;
defRect->width = 940;
defRect->height = 580;
//These conditional values assist in improving placement and size

View File

@ -92,7 +92,7 @@ void MeterToolBar::Populate()
wxID_ANY,
true,
wxDefaultPosition,
wxSize( 130, 55 ) );
wxSize( 260, 55 ) );
/* i18n-hint: (noun) The meter that shows the loudness of the audio being recorded.*/
mRecordMeter->SetName( _("Record Meter"));
/* i18n-hint: (noun) The meter that shows the loudness of the audio being recorded.
@ -107,7 +107,7 @@ void MeterToolBar::Populate()
wxID_ANY,
false,
wxDefaultPosition,
wxSize( 130, 55 ) );
wxSize( 260, 55 ) );
/* i18n-hint: (noun) The meter that shows the loudness of the audio playing.*/
mPlayMeter->SetName( _("Play Meter"));
/* i18n-hint: (noun) The meter that shows the loudness of the audio playing.

View File

@ -47,7 +47,7 @@ class MeterToolBar:public ToolBar {
virtual bool Expose( bool show );
int GetInitialWidth() {return (mWhichMeters ==
(kWithRecordMeter + kWithPlayMeter)) ? 338 : 165;}
(kWithRecordMeter + kWithPlayMeter)) ? 338 : 460;} // Separate bars used to be smaller.
int GetMinToolbarWidth() { return 100; }
private:

View File

@ -63,14 +63,14 @@ enum
NoBarID = -1,
TransportBarID,
ToolsBarID,
MixerBarID,
TranscriptionBarID,
EditBarID,
MeterBarID,
RecordMeterBarID,
PlayMeterBarID,
MixerBarID,
EditBarID,
TranscriptionBarID,
SelectionBarID,
DeviceBarID,
SelectionBarID,
#ifdef EXPERIMENTAL_SPECTRAL_EDITING
SpectralSelectionBarID,
#endif