# Chapter 2 - Command-click Text in Vstack

**URL:** <https://forums.kodeco.com/t/chapter-2-command-click-text-in-vstack/122674>\
**Category:** SwiftUI by Tutorials\
**Created:** [October 15, 2020, 2:27am UTC](https://forums.kodeco.com/t/chapter-2-command-click-text-in-vstack/122674 "2020-10-15T02:27:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![u3qu3oxyvflx](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/u3qu3oxyvflx/32/102075_2.png) [@u3qu3oxyvflx](https://forums.kodeco.com/u/u3qu3oxyvflx)\
**Post date:** [October 15, 2020, 2:27am UTC](https://forums.kodeco.com/t/chapter-2-command-click-text-in-vstack/122674/1 "2020-10-15T02:27:17Z")

</div>

> **Command-click** the `Text` view in the canvas, and select **Show Swift-UI Inspector…** : Then edit the text…

When embedded in a `VStack` (as suggested in Step 1, Cmd-clicking the embedded `Text` view selects and inspects the enclosing `VStack`. The embedded `Text` isn’t inspected.

---

<div class="post-metadata">

**Author:** ![audrey](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/audrey/32/111607_2.png) [@audrey](https://forums.kodeco.com/u/audrey)\
**Post date:** [October 16, 2020, 12:45am UTC](https://forums.kodeco.com/t/chapter-2-command-click-text-in-vstack/122674/2 "2020-10-16T00:45:08Z")

</div>

hi! I can’t reproduce this. When I click or command-click the `Text` view in the canvas, it always selects the `Text` view. Even if I aim for the edges of the `Text` view.

---

<div class="post-metadata">

**Author:** ![u3qu3oxyvflx](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/u3qu3oxyvflx/32/102075_2.png) [@u3qu3oxyvflx](https://forums.kodeco.com/u/u3qu3oxyvflx)\
**Post date:** [October 16, 2020, 3:38pm UTC](https://forums.kodeco.com/t/chapter-2-command-click-text-in-vstack/122674/3 "2020-10-16T15:38:26Z")

</div>

I can’t get it to fail any longer. Something had gotten corrupted. I believe the books describes the intended behavior. thx

---

<div class="post-metadata">

**Author:** ![noradavis](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/noradavis/32/102075_2.png) [@noradavis](https://forums.kodeco.com/u/noradavis)\
**Post date:** [February 11, 2023, 11:51am UTC](https://forums.kodeco.com/t/chapter-2-command-click-text-in-vstack/122674/4 "2023-02-11T11:51:10Z")

</div>

_Command_ -_click_ the _Text_ view in the canvas, and select Show Swift-UI Inspector…: Then edit [spacebar clicker](https://clickercounter.org/spacebar-clicker) the _text_ … When embedded in a _VStack_ (as suggested in … Can any one tell me how i can see the context menus when I _CMD click_ on _VStack_? when I do that I only get 4 items, it does not have menu items like embed … \* _Command_-_click_ ProgressView and choose “Embed in _VStack_.” Stacks group views horizontally, vertically, or back to front. You use stacks to combine and layer view …

---

<div class="post-metadata">

**Author:** ![audrey](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/audrey/32/111607_2.png) [@audrey](https://forums.kodeco.com/u/audrey)\
**Post date:** [February 11, 2023, 1:56pm UTC](https://forums.kodeco.com/t/chapter-2-command-click-text-in-vstack/122674/5 "2023-02-11T13:56:07Z")

</div>

hi, make sure the preview canvas is open — the full menu appears only when the canvas is open
