Fix truncating bitmaps in the art provider resource browser We need to redo the layout after changing the size of wxStaticBitmap, otherwise it wouldn't be effectively resized to its new size and could truncate the bitmap being shown in it if it's bigger than before.
Use FreeBSD 14.3 for Cirrus CI job 14.2 image isn't available any more.
| ... | ... | @@ -12,7 +12,7 @@ task: |
| 12 | 12 | matrix:
|
| 13 | 13 | - name: Cirrus CI / FreeBSD wxGTK 3
|
| 14 | 14 | freebsd_instance:
|
| 15 | - image_family: freebsd-14-2
|
|
| 15 | + image_family: freebsd-14-3
|
|
| 16 | 16 | env:
|
| 17 | 17 | osname: FreeBSD
|
| 18 | 18 | - name: Cirrus CI / Debian ARM wxGTK 3
|
| ... | ... | @@ -262,5 +262,5 @@ void wxArtBrowserDialog::SetArtBitmap(const wxArtID& id, const wxArtClient& clie |
| 262 | 262 | m_canvas->SetSize(bmp.GetWidth(), bmp.GetHeight());
|
| 263 | 263 | m_canvas->SetBitmap(bmp);
|
| 264 | 264 | m_text->SetLabel(wxString::Format("Size: %d x %d", bmp.GetWidth(), bmp.GetHeight()));
|
| 265 | - Refresh();
|
|
| 265 | + Layout();
|
|
| 266 | 266 | } |
—
View it on GitLab.
You're receiving this email because of your account on gitlab.com. Manage all notifications · Help