# Tree View Font Size

In this example, we use UDStyle to change the font size of the tree item labels. You can view a full list of CSS classes for the [tree view here](https://mui.com/material-ui/api/tree-item/#css).

<figure><img src="/files/T3kcCRTW8RO6ZQA2eRuf" alt=""><figcaption></figcaption></figure>

```powershell
New-UDStyle -Content {
    New-UDTreeView -Id "Tree1" -Expanded -Node {
        New-UDTreeNode -Name "Pre-Project" -Children {
            New-UDTreeNode -Name "Recorded Walkthrough of Process"
        }
    
        New-UDTreeNode -Name "Project Kick-Off" -Children {
            New-UDTreeNode -Name "Create project kickoff slide deck"
    
            New-UDTreeNode -Name "Verify Development Environment" -Children {
                New-UDTreeNode -Name "Verify client VPN connectivity"
                New-UDTreeNode -Name "Verify client internal network access"
                New-UDTreeNode -Name "Verify development Windows Device"
            }
        }
    } -Style @{
        "width" = 800
    }
} -Style ".MuiTreeItem-label { font-size: 25px }"
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.powershelluniversal.com/v4-beta/samples/apps/tree-view-font-size.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
