Changeset 4134


Ignore:
Timestamp:
Oct 28, 2009, 2:01:35 PM (11 years ago)
Author:
ronosman
Message:

Bug 1218 fixed : blur property can not be modified.

Location:
extensions/pLoader/trunk/src/Uploader/GUI
Files:
2 edited

Legend:

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

    r4121 r4134  
    429429            {
    430430                label     => gettext("Site image blur :"),
    431                 type      => 'Number',
     431                type      => 'Float',
    432432                value   => sub { $self->imagelist->blur(@_) },
    433433            },
  • extensions/pLoader/trunk/src/Uploader/GUI/wxPropertyGridPanel.pm

    r3267 r4134  
    5555            Bool     => sub { Wx::GridCellBoolRenderer->new },
    5656            Number   => sub { Wx::GridCellNumberRenderer->new },
     57            Float    => sub { Wx::GridCellFloatRenderer->new(-1, 2) },
    5758            LongText => sub { Wx::GridCellAutoWrapStringRenderer->new },
    5859        }
     
    6162    $self->editor(
    6263        {
    63             Bool   => sub { Wx::GridCellBoolEditor->new },
    64             Number => sub { Wx::GridCellNumberEditor->new },
    65             Choice => sub { Wx::GridCellChoiceEditor->new(@_) },
     64            Bool     => sub { Wx::GridCellBoolEditor->new },
     65            Number   => sub { Wx::GridCellNumberEditor->new },
     66            Float    => sub { Wx::GridCellFloatEditor->new(-1, 2) },
     67            Choice   => sub { Wx::GridCellChoiceEditor->new(@_) },
    6668            LongText => sub { Wx::GridCellAutoWrapStringEditor->new },
    6769        }
    6870    );
     71
    6972
    7073    $self->properties(
     
    197200        $col,
    198201    );
    199    
     202
    200203    # set property
    201204    $self->properties->[$row]->{value}->($value);
Note: See TracChangeset for help on using the changeset viewer.