]> git.sesse.net Git - vlc/commitdiff
modules/gui/wxwindows/preferences.cpp:
authorSigmund Augdal Helberg <sigmunau@videolan.org>
Sat, 4 Oct 2003 23:52:32 +0000 (23:52 +0000)
committerSigmund Augdal Helberg <sigmunau@videolan.org>
Sat, 4 Oct 2003 23:52:32 +0000 (23:52 +0000)
 * Increased size of and decreased margins around the section heading. It
   looks nice now.

modules/gui/wxwindows/preferences.cpp

index b59878c3cfd817b5d681e70df18a400f5ae1097b..541381e30732662d16cf9f4fb4d9638c7de8e274 100644 (file)
@@ -2,7 +2,7 @@
  * preferences.cpp : wxWindows plugin for vlc
  *****************************************************************************
  * 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>
  *
@@ -841,10 +841,12 @@ PrefsPanel::PrefsPanel( wxWindow* parent, intf_thread_t *_p_intf,
         label = new wxStaticText( this, -1,
                                   wxU(_(psz_section ? p_item->psz_text :
                                   p_module->psz_longname )));
-
-        sizer->Add( label, 0, wxEXPAND | wxLEFT | wxTOP, 10 );
+        wxFont heading_font = label->GetFont();
+        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,
-                    wxEXPAND | wxLEFT | wxRIGHT | wxTOP, 2 );
+                    wxEXPAND | wxLEFT | wxRIGHT, 2 );
 
         /* Now put all the config options into a scrolled window */
         config_sizer = new wxBoxSizer( wxVERTICAL );