Changeset 5122 for extensions/pLoader/trunk/src
- Timestamp:
- Mar 12, 2010, 9:56:10 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/pLoader/trunk/src/Uploader/GUI/Layout/PhotoPropertiesCategoriesTags.pm
r5120 r5122 128 128 ); 129 129 130 $topsizer->Add( 130 my $sizer_comment = Wx::BoxSizer->new( wxHORIZONTAL ); 131 $sizer_comment->Add( 131 132 TextField( 132 133 $parent, 133 134 $main::COMMENT, 134 135 $main::PHOTO_PROPERTIES_COMMENT, 135 1 136 1, 137 wxTE_MULTILINE 136 138 ), 137 139 1, … … 139 141 2 140 142 ); 143 144 $topsizer->Add( $sizer_comment, 1, wxEXPAND|wxALL, 2 ); 141 145 142 146 my $sizer_author_create = Wx::BoxSizer->new( wxVERTICAL ); … … 165 169 my $sizer_author_create_privacy = Wx::BoxSizer->new( wxHORIZONTAL ); 166 170 167 $sizer_author_create_privacy->Add($sizer_author_create, 0, wxEXPAND|wxALL, 0);168 169 $sizer_ author_create_privacy->Add(171 my $sizer_privacy = Wx::BoxSizer->new( wxHORIZONTAL ); 172 173 $sizer_privacy->Add( 170 174 ChoiceField( 171 175 $parent, 172 176 $main::PRIVACY_LEVEL, 173 177 $main::PHOTO_PROPERTIES_PRIVACY_LEVEL, 174 1175 178 ), 176 179 1, 177 wxEXPAND|wxALL, 178 2 179 ); 180 wxALL, 181 2 182 ); 183 184 $sizer_author_create_privacy->Add($sizer_author_create, 0, wxEXPAND|wxALL, 0); 185 $sizer_author_create_privacy->Add($sizer_privacy, 1, wxEXPAND|wxALL, 0); 186 180 187 181 188 $topsizer->Add( $sizer_author_create_privacy, 0, wxEXPAND|wxALL, 2 ); … … 191 198 192 199 sub TextField { 193 my ( $parent, $id_label, $id_textctrl, $expand ) = @_; 194 195 $expand ||=0; 200 my ( $parent, $id_label, $id_textctrl, $expand, $style ) = @_; 201 202 $expand||=0; 203 $style||0; 196 204 197 205 my( $sizer ) = Wx::BoxSizer->new( wxVERTICAL ); … … 218 226 wxDefaultPosition, 219 227 [-1,-1], 220 0228 $style 221 229 ), 222 230 $expand, … … 298 306 0 299 307 ), 300 1,308 $expand, 301 309 wxEXPAND|wxALL, 302 310 1
Note: See TracChangeset
for help on using the changeset viewer.