# Styling Icon Button

### The Goal

Design a rounded *Button* suitable for editing records.

![Designed Rounded Button](/files/pLgCbGzORuIYWvDEkwvI)

### The Description

Any type of *Buttons* used for editing records must be slightly visible and contain an “*easy-to-read*” small icons.

### The Knowledge You Will Get

1. How to design icons.

### The Project Structure

{% tabs %}
{% tab title="View\[MainView]" %}

* [ ] MainView
  * [ ] Container\[`container1`]
    * [ ] Button\[`button1`]
      {% endtab %}
      {% endtabs %}

### 1. Prepare a Canvas and Design a Button

1. Place in a **Container**, set up its *Item Flex* -> `Stretch`; *Horizontal Alignment* -> `Center`; *Vertical Alignment* -> `Middle`
2. Put in a new **Button** and configure its settings as follows:
   1. Empty its default *Text* -> *Value* -> ""
   2. *Icon* -> *Name* "`mdi/lead-pencil`"; *Size* -> `Small`
   3. *Style* -> *Button Style* -> `Custom`
      1. *Background* -> `WHITE`; *Foreground* -> `TEXT`; *Border Color* -> `LIGHT_GRAY`; *Border Width* -> `1px`; *Border Radius* -> `18px`

### The Conclusion

As we can see, styling buttons is fast and easy. Try to make your style.

{% hint style="info" %}
Follow up on our *Icon Button* tutorial <https://youtu.be/qeCDpKsg7Xc>
{% endhint %}


---

# 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.adapptio.com/working-with-adapptio/how-to/visual/styling-icon-button.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.
