# gpui: Improve the image example \(\#11111\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/c826ad2f82016c6925c2ba9e1f2d956c85b973f8)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: c826ad2f82016c6925c2ba9e1f2d956c85b973f8

Requested commit: c826ad2f82016c6925c2ba9e1f2d956c85b973f8

Commit: c826ad2f82016c6925c2ba9e1f2d956c85b973f8

Tree: 987d1c0ad311ef543ca610f33255e6657d584063

Author: Michael Angerman

Committer: GitHub

## Message

````
gpui: Improve the image example (#11111)

### fix cropping problem

Prior to these changes the images were being cropped so you never
actually saw
the full image but you had to use your mouse to make the window bigger
to see
both the text and the images...

### activate
 
```rust
cx.activate(true);
```
was not in place so the window did not appear when you ran the example

### No longer need to Ctrl-c to quit the example

Now you can hit *Cmd-q* to quit out of the example instead of having to
*Ctrl-c* in your
terminal where you fired off the example

Release Notes:

- N/A
````

## Parents

- [f458f906734026ec22a39d1e10a0f61f51639b48](https://git.cafe/gitcafe/zed/commit/f458f906734026ec22a39d1e10a0f61f51639b48?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/c826ad2f82016c6925c2ba9e1f2d956c85b973f8?format=markdown)
