JeysonFlores / switcher

Set default wallpapers for Dark & Light mode.
GNU General Public License v3.0
20 stars 2 forks source link

Wallpapers don't have the exact same size in the window #9

Open JeysonFlores opened 2 years ago

JeysonFlores commented 2 years ago

Problem

Wallpapers don't have the same size on the window, so when a big wallpaper is loaded into the image view, the window resizes to allocate the image.

Reason

Gdk.Pixbuf sucks.

Solution ideas

Create a custom widget that draws the image using Cairo and uses it to draw a static size container for the images to show. (This principle could be used in a future version to show different wallpapers in the view as @lukors proposed in #3 .