Ignore:
Timestamp:
Dec 30, 2009, 10:52:22 PM (14 years ago)
Author:
ronosman
Message:

Bug fixes for new global settings dialog box.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/pLoader/trunk/res/global_settings_wdr.pl

    r4570 r4589  
    119119    $item10->AddWindow( $item11, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT|wxTOP, 5 );
    120120
    121     my( $item12 ) = Wx::TextCtrl->new( $parent, $main::GS_DEFAULT_AUTHOR, "", wxDefaultPosition, [190,-1], 0 );
     121    my( $item12 ) = Wx::TextCtrl->new( $parent, $main::GS_DEFAULT_AUTHOR, "", wxDefaultPosition, [200,-1], 0 );
    122122    $item10->AddWindow( $item12, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
    123123
     
    140140    $item16->AddWindow( $item17, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5 );
    141141
    142     my( $item18 ) = Wx::CollapsiblePane->new( $parent, $main::CPANE_RESIZE, "", wxDefaultPosition, [10,10], 0|wxCP_DEFAULT_STYLE );
     142    my( $item18 ) = Wx::CollapsiblePane->new( $parent, $main::CPANE_RESIZE, "", wxDefaultPosition, wxDefaultSize, 0|wxCP_DEFAULT_STYLE );
    143143    my( $oldparent ) = $parent;
    144144    $parent = $item18->GetPane();
     
    167167    $parent = $oldparent;
    168168   
    169     $item16->AddWindow( $item18, 0, 0, 5 );
    170 
    171     my( $item26 ) = Wx::CollapsiblePane->new( $parent, $main::CPANE_RESIZE_ADVANCED, "", wxDefaultPosition, [10,10], 0|wxCP_DEFAULT_STYLE );
     169    $item16->AddWindow( $item18, 0, wxALL, 5 );
     170
     171    my( $item26 ) = Wx::CollapsiblePane->new( $parent, $main::CPANE_RESIZE_ADVANCED, "Advanced", wxDefaultPosition, wxDefaultSize, 0|wxCP_DEFAULT_STYLE );
    172172    my( $oldparent ) = $parent;
    173173    $parent = $item26->GetPane();
     
    196196    $parent = $oldparent;
    197197   
    198     $item16->AddWindow( $item26, 0, 0, 5 );
     198    $item16->AddWindow( $item26, 0, wxALL, 5 );
    199199
    200200    $item14->Add( $item16, 0, wxALIGN_CENTER_VERTICAL, 5 );
     
    209209    $item34->AddWindow( $item36, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5 );
    210210
    211     my( $item37 ) = Wx::CollapsiblePane->new( $parent, $main::CPANE_HD, "", wxDefaultPosition, [10,10], 0|wxCP_DEFAULT_STYLE );
     211    my( $item37 ) = Wx::CollapsiblePane->new( $parent, $main::CPANE_HD, "", wxDefaultPosition, wxDefaultSize, 0|wxCP_DEFAULT_STYLE );
    212212    my( $oldparent ) = $parent;
    213213    $parent = $item37->GetPane();
     
    236236    $parent = $oldparent;
    237237   
    238     $item34->AddWindow( $item37, 0, 0, 5 );
    239 
    240     my( $item45 ) = Wx::CollapsiblePane->new( $parent, $main::CPANE_HD_ADVANCED, "", wxDefaultPosition, [10,10], 0|wxCP_DEFAULT_STYLE );
     238    $item34->AddWindow( $item37, 0, wxALL, 5 );
     239
     240    my( $item45 ) = Wx::CollapsiblePane->new( $parent, $main::CPANE_HD_ADVANCED, "Advanced", wxDefaultPosition, wxDefaultSize, 0|wxCP_DEFAULT_STYLE );
    241241    my( $oldparent ) = $parent;
    242242    $parent = $item45->GetPane();
     
    265265    $parent = $oldparent;
    266266   
    267     $item34->AddWindow( $item45, 0, 0, 5 );
     267    $item34->AddWindow( $item45, 0, wxALL, 5 );
    268268
    269269    $item0->Add( $item34, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
     
    283283    $item53->Add( $item55, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5 );
    284284
    285     my( $item58 ) = Wx::CollapsiblePane->new( $parent, $main::CPANE_WATERMARK, "", wxDefaultPosition, [10,10], 0|wxCP_DEFAULT_STYLE );
     285    my( $item58 ) = Wx::CollapsiblePane->new( $parent, $main::CPANE_WATERMARK, "", wxDefaultPosition, wxDefaultSize, 0|wxCP_DEFAULT_STYLE );
    286286    my( $oldparent ) = $parent;
    287287    $parent = $item58->GetPane();
     
    328328    $parent = $oldparent;
    329329   
    330     $item53->AddWindow( $item58, 0, 0, 5 );
     330    $item53->AddWindow( $item58, 0, wxALL, 5 );
    331331
    332332    $item0->Add( $item53, 0, wxALIGN_CENTER_VERTICAL, 5 );
     
    339339    $item72->AddWindow( $item74, 0, wxALIGN_CENTER|wxALL, 5 );
    340340
    341     my( $item75 ) = Wx::CollapsiblePane->new( $parent, $main::CPANE_TRANSFERT_ADVANCED, "", wxDefaultPosition, [10,10], 0|wxCP_DEFAULT_STYLE );
     341    my( $item75 ) = Wx::CollapsiblePane->new( $parent, $main::CPANE_TRANSFERT_ADVANCED, "", wxDefaultPosition, wxDefaultSize, 0|wxCP_DEFAULT_STYLE );
    342342    my( $oldparent ) = $parent;
    343343    $parent = $item75->GetPane();
     
    358358    $item0->Add( $item72, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
    359359
    360     my( $item79 ) = Wx::StaticLine->new( $parent, $main::ID_LINE, wxDefaultPosition, [20,-1], wxLI_HORIZONTAL );
    361     $item0->AddWindow( $item79, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
    362 
    363     my( $item80 ) = Wx::BoxSizer->new( wxVERTICAL );
    364    
     360    my( $item79 ) = Wx::BoxSizer->new( wxVERTICAL );
     361   
     362    my( $item80 ) = Wx::StaticLine->new( $parent, $main::ID_LINE, wxDefaultPosition, [20,-1], wxLI_HORIZONTAL );
     363    $item79->AddWindow( $item80, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
     364
    365365    my( $item81 ) = Wx::Button->new( $parent, $main::GS_CLOSE, "OK", wxDefaultPosition, wxDefaultSize, 0 );
    366     $item80->AddWindow( $item81, 0, wxALIGN_BOTTOM|wxALIGN_CENTER_HORIZONTAL, 5 );
    367 
    368     $item0->Add( $item80, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
     366    $item79->AddWindow( $item81, 0, wxALIGN_BOTTOM|wxALIGN_CENTER_HORIZONTAL|wxALL, 5 );
     367
     368    $item0->Add( $item79, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
    369369
    370370    my( $set_size ) = @_ >= 3 ? $_[2] : 1;
Note: See TracChangeset for help on using the changeset viewer.