modules/gui/wxwindows/preferences.cpp:

 * Increased size of and decreased margins around the section heading. It
   looks nice now.
parent fd05dc69
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* preferences.cpp : wxWindows plugin for vlc * preferences.cpp : wxWindows plugin for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 2000-2001 VideoLAN * Copyright (C) 2000-2001 VideoLAN
* $Id: preferences.cpp,v 1.31 2003/10/03 23:31:43 sigmunau Exp $ * $Id: preferences.cpp,v 1.32 2003/10/04 23:52:32 sigmunau Exp $
* *
* Authors: Gildas Bazin <gbazin@netcourrier.com> * Authors: Gildas Bazin <gbazin@netcourrier.com>
* *
...@@ -841,10 +841,12 @@ PrefsPanel::PrefsPanel( wxWindow* parent, intf_thread_t *_p_intf, ...@@ -841,10 +841,12 @@ PrefsPanel::PrefsPanel( wxWindow* parent, intf_thread_t *_p_intf,
label = new wxStaticText( this, -1, label = new wxStaticText( this, -1,
wxU(_(psz_section ? p_item->psz_text : wxU(_(psz_section ? p_item->psz_text :
p_module->psz_longname ))); p_module->psz_longname )));
wxFont heading_font = label->GetFont();
sizer->Add( label, 0, wxEXPAND | wxLEFT | wxTOP, 10 ); heading_font.SetPointSize( heading_font.GetPointSize() + 5 );
label->SetFont( heading_font );
sizer->Add( label, 0, wxEXPAND | wxLEFT, 10 );
sizer->Add( new wxStaticLine( this, 0 ), 0, sizer->Add( new wxStaticLine( this, 0 ), 0,
wxEXPAND | wxLEFT | wxRIGHT | wxTOP, 2 ); wxEXPAND | wxLEFT | wxRIGHT, 2 );
/* Now put all the config options into a scrolled window */ /* Now put all the config options into a scrolled window */
config_sizer = new wxBoxSizer( wxVERTICAL ); config_sizer = new wxBoxSizer( wxVERTICAL );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment