Skip to content

Commit

Permalink
increase pixel size
Browse files Browse the repository at this point in the history
  • Loading branch information
nnyyxxxx committed Oct 17, 2024
1 parent 4708777 commit 02a12ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ fn load_images(folder: &PathBuf, flowbox: &Rc<RefCell<FlowBox>>) {
if let Some(path) = entry.path().to_str() {
if path.ends_with(".png") || path.ends_with(".jpg") || path.ends_with(".jpeg") {
let image = Image::from_file(path);
image.set_pixel_size(150);
image.set_pixel_size(250);

let button = Button::builder().child(&image).build();

Expand Down

0 comments on commit 02a12ee

Please sign in to comment.