Skip to content

Remove the need to call the PropsUi.setLook() #2638#7592

Draft
nadment wants to merge 1 commit into
apache:mainfrom
nadment:2638
Draft

Remove the need to call the PropsUi.setLook() #2638#7592
nadment wants to merge 1 commit into
apache:mainfrom
nadment:2638

Conversation

@nadment

@nadment nadment commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

It's currently a proof of concept, but it works well on Windows (39 calls to setTheme vs. 8,000 calls to setLook).

However, we need to remember to use setTheme() for a control that changes dynamically. I think I've updated many places, but we might still find others.

Calls to the PropsUi.setLook() function haven't been removed yet, but these functions no longer do anything.

I'd like some help understanding how this works on other operating systems.

It's currently a proof of concept, but it works well on Windows (39 calls to setTheme vs. 8,000 calls to setLook).

However, we need to remember to use setTheme() for a control that changes dynamically. I think I've updated many places, but we might still find others.

Calls to the PropsUi.setLook() function haven't been removed yet, but these functions no longer do anything.

I'd like some help figuring out how this behaves on other operating systems.
@mattcasters

Copy link
Copy Markdown
Contributor

Could you check the font where we want fixed width like JavaScript, SQL, and so on?
Other than that it looks fine on Linux.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants