Verifying disclosure icon alignment

In the UI does the quiet theme disclosure icon alignment look centered vertically? Here’s from the UI Rename Artboard example:

Is there anyway to center the icon vertically?

Hi @Velara,

I use this code to align items vertically inside a container:

let container = document.createElement("div"); = "flex"; = "row"; = "center";

Hope it works for you too.

Thanks. I should clarify the disclosure icon is part of a drop down list.

// normal select
myList = document.createElement("select");
myList.uxpQuiet = false;

// quiet theme select
myList = document.createElement("select");
myList.uxpQuiet = true;

why don’t you use ‘select’?

myList = document.createElement("select");

That’s a typo. I’ve updated it.

Solved? Is the triangle still not aligned?

It’s solved now. :slight_smile: When the height is set lower than the default value in the normal theme the disclosure icon is vertically aligned. But in the quiet theme it looks like it is not.

Since the only visible part of the select in the quiet theme is the label and the icon I don’t need to set the height.

1 Like