Tilemaplayers inside scrollable boxs

Godot Version

4.3

Question

Hi, I’m trying to get my TileMap layer to show inside a scrollable box. I thought the process would be to make a Control node, set the contents to clip, and then add the TileMap layer node under that. I think I might be missing something because, when I do this, I can still see the map outside the Control area. Here’s my current node structure:

Map
└── MapScroll
└── MapControl
├── MapLayer
├── MarkerLayer
├── HighlightLayer
└── FogLayer

From the look of it it appears that tilemap layer is taking the map control size
What might I be doing wrong?

I ended up placing a texture rectangle above the map-scroll container and setting clip on. This seems to have forced the scroll container to not not overflow behind the texture. I initially had used a style themed texture box and set the content margins, but that wasnt working.
Map
├── MapRect
├── MapScroll
│ └── MapControl
│ ├── MapLayer
│ ├── MarkerLayer
│ ├── HighlightLayer
│ └── FogLayer
├── InfoLabel
└── Player
├── AnimationPlayer
├── CollisionShape2D
└── Sprite2D