top | item 42156404

(no title)

TheUnhinged | 1 year ago

How does Avalonia do native look-and-feel? Does it use its own custom controls (with themes) or does it try to do what Qt does (using native theming APIs)?

discuss

order

peutetre|1 year ago

Avalonia draws its own controls and supports themes.

In contrast, Uno uses native controls as much as possible.

jlaban-uno|1 year ago

Uno Platform Dev here.

Uno currently uses some native controls on mobile iOS/Android/Catalyst (text input, mostly) to provide platform features, but the rest is rendered using graphics primitives. On Web, the same happens where CSS is used for most of the rendering. Input interactions are managed entirely by Uno. This allows to have a visually identical UI across platforms, unless the developer chooses otherwise.

On Desktop targets, Uno is rendering everything on an HW accelerated Skia canvas, with GL/Metal backends.

zerr|1 year ago

Qt does custom drawing of controls as well. wxWidgets uses native controls.