diff --git a/checkin_notes b/checkin_notes index 2f238f7a35..cacd2cd0cb 100755 --- a/checkin_notes +++ b/checkin_notes @@ -1272,3 +1272,11 @@ David 26 Jan 2007 client/ acct_mgr.C + +Walt 28 Jan 2007 + - MGR: fixed bug in dialog options where it doesn't set the slider size + automatically. This is a bug in wxGTK so for Linux set the size + explicitly. + + clientgui/ + DlgOptions.cpp diff --git a/clientgui/DlgOptions.cpp b/clientgui/DlgOptions.cpp index b2ab16024e..c820bc3bb3 100644 --- a/clientgui/DlgOptions.cpp +++ b/clientgui/DlgOptions.cpp @@ -150,7 +150,13 @@ void CDlgOptions::CreateControls() itemFlexGridSizer6->Add(itemStaticText9, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5); m_ReminderFrequencyCtrl = new wxSlider; - m_ReminderFrequencyCtrl->Create( itemPanel4, ID_REMINDERFREQUENCY, 60, 0, 120, wxDefaultPosition, wxDefaultSize, wxSL_HORIZONTAL|wxSL_LABELS ); + m_ReminderFrequencyCtrl->Create( itemPanel4, ID_REMINDERFREQUENCY, 60, 0, 120, wxDefaultPosition, +#if defined(__WXMSW__) || defined(__WXMAC__) + wxDefaultSize, +#else + wxSize(150, 40), +#endif + wxSL_HORIZONTAL|wxSL_LABELS); if (ShowToolTips()) m_ReminderFrequencyCtrl->SetToolTip(_("How often, in minutes, should the manager remind you of possible connection events.")); itemFlexGridSizer6->Add(m_ReminderFrequencyCtrl, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5);