Changeset 4573


Ignore:
Timestamp:
12/27/09 14:21:19 (10 years ago)
Author:
ronosman
Message:

New default values when starting with a new layout.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/pLoader/trunk/src/Uploader/GUI/wxFrameAUI.pm

    r4569 r4573  
    854854    $url = gettext("empty - work Offline") if wxTheApp->use_offline; 
    855855 
    856     $self->manager->AddPane 
    857       ( $self->imageviewer, Wx::AuiPaneInfo->new->Name( "ImageViewer" ) 
    858         ->Left->Position(1)->DefaultPane->Caption(gettext("Photo selection"))->CaptionVisible->CloseButton(0)  ); 
     856    $self->manager->AddPane(  
     857        $self->imageviewer,  
     858        Wx::AuiPaneInfo->new->Name( "ImageViewer" ) 
     859        ->Left->Position(1)->DefaultPane 
     860        ->Caption(gettext("Photo selection"))->CaptionVisible 
     861        ->CloseButton(0) 
     862        ->MinSize([200, 200]) 
     863    ); 
    859864 
    860865    $self->manager->AddPane(  
    861866        $self->dlg_piwigo_photo_properties,  
    862867        Wx::AuiPaneInfo->new->Name( "piwigo_photo_properties" ) 
    863         ->CenterPane->Position(0)->BestSize([600, 400]) 
     868        ->CenterPane->Position(0) 
    864869        ->Caption(gettext("Photo properties"))->CaptionVisible 
    865870        ->CloseButton(0) 
    866         ->MinSize([300, 200])  
    867871    ); 
    868872 
     
    870874        $self->create_tree,  
    871875        Wx::AuiPaneInfo->new->Name( "categories" ) 
    872         ->CenterPane->Position( 1 )->MinSize([300, 200])  
     876        ->CenterPane->Position( 1 )  
    873877    ); 
    874878 
     
    891895 
    892896 
    893     if(0 and $self->perspective){ 
     897    if($self->perspective){ 
    894898        $self->manager->LoadPerspective($self->perspective); 
    895899    } 
     
    916920    $self->manager->AddPane 
    917921      ( $self->image_preview, Wx::AuiPaneInfo->new->Name( "image_preview" ) 
    918         ->DefaultPane->MaximizeButton(1)->MinSize([200,150])->Float->Hide); 
     922        ->DefaultPane->MaximizeButton(1)->MinSize([400,300])->Float->Hide); 
    919923 
    920924    $self->manager->AddPane 
    921925      ( $self->htmlhome, Wx::AuiPaneInfo->new->Name( "getting_started" ) 
    922        ->Left->Position(0)->DefaultPane->CloseButton(1) ); 
     926       ->Left->Position(0)->DefaultPane->CloseButton(1)->Float ); 
    923927 
    924928    $self->manager->AddPane 
Note: See TracChangeset for help on using the changeset viewer.