You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
so basically i'm trying to use slint on this display and knob
i haven't set this to work yet, but testing on my pc, so far it seems like it'll work quite well
knob rotation will be mapped to backtab and tab, and click will be mapped to Return
i attach my current code here
obviously a lot of standard widgets are big so i'll have to rewrite a lot of things
so tell me if there's good idea how something should work
so far implemented:
to be implemented:
problems
scrollview
about scrolling i found that tab only switches to element that's already on the screen, which is good,
but i want to knob to work as scroll as well, if you rotate clockwise, scroll smoothly until there's item that can be focused,
how can i implement this?
also i don't like that scroll bar is taking too much space, i want to make it stick to right, 1 px, fade out after use
inverting color
second, i'm using inverted color to indicate focused, selected
this works by inverting color scheme of Text which is child of KnobCapture
but there's no generic way to invert color of all child
Beta Was this translation helpful? Give feedback.
All reactions