# Sketch canvas does not change

**URL:** <https://discourse.processing.org/t/sketch-canvas-does-not-change/44675>\
**Category:** Beginners\
**Created:** [July 1, 2024, 4:16pm UTC](https://discourse.processing.org/t/sketch-canvas-does-not-change/44675 "2024-07-01T16:16:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Crinqe](https://avatars.discourse-cdn.com/v4/letter/c/e47c2d/32.png) [@Crinqe](https://discourse.processing.org/u/Crinqe)\
**Post date:** [July 1, 2024, 4:16pm UTC](https://discourse.processing.org/t/sketch-canvas-does-not-change/44675/1 "2024-07-01T16:16:46Z")

</div>

My sketch runs fine, but when I try to change the canvas size, it does not change. I tried to change the ratio of the sketch ex: 100, 200; 1000, 800; but the sketch only pops up with a canvas size of I would say about 100x100. I wasn’t sure if this was a processing bug or there is some setting on my pc (Windows 11) that is restricting the pop-up window size

 ![Screenshot 2024-07-01 121547](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/c/9/c954618a0b3bf5860c20877cb9c0cd9a784f891e.png)

```auto
void setUp()
{
  size(100,200);
}

void draw()
{
  background(255);
}

```

---

<div class="post-metadata">

**Author:** ![scudly](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/scudly/32/5597_2.png) [@scudly](https://discourse.processing.org/u/scudly)\
**Post date:** [July 7, 2024, 1:08am UTC](https://discourse.processing.org/t/sketch-canvas-does-not-change/44675/2 "2024-07-07T01:08:24Z")

</div>

You mis-typed the `setup()` function as `setUp()`. It should not contain a capital letter. Processing is not seeing yours and so is always using the default window size.
