Changeset 5511
- Timestamp:
- 06/23/09 11:26:13 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Padre-Plugin-Ecliptic/lib/Padre/Plugin/Ecliptic/QuickFixDialog.pm
r5501 r5511 45 45 -1, 46 46 Wx::gettext('Quick Fix'), 47 [$pt->x, $pt->y + 18], # XXX- no hardcoding plz47 [$pt->x, $pt->y + $editor->TextHeight(0)], 48 48 Wx::wxDefaultSize, 49 49 Wx::wxBORDER_SIMPLE, … … 143 143 my $current = $self->_plugin->current; 144 144 my $editor = $current->editor; 145 my $list_width = 260; 146 $self->SetFont($editor->GetFont); 145 my $list_width = 280; 146 my $editor_font = $self->GetFont; 147 my $editor_font_size = $editor->TextHeight(0) - 10; 148 if($editor_font_size < 10) { 149 $editor_font_size = 10; 150 } 151 $editor_font->SetPointSize($editor_font_size); 152 $self->SetFont($editor_font); 147 153 $self->_list( 148 154 Wx::ListView->new( … … 150 156 -1, 151 157 Wx::wxDefaultPosition, 152 [$list_width,1 90],158 [$list_width,100], 153 159 Wx::wxLC_REPORT | Wx::wxLC_NO_HEADER | Wx::wxLC_SINGLE_SEL | 154 160 Wx::wxBORDER_NONE
Note: See TracChangeset
for help on using the changeset viewer.
