Skip to content

enh(ui): change toolbar layout on touch friendly apps

Description

These changes fix some issues with touch-friendly apps.

  • The toolbar buttons are now bigger in touch-friendly apps by default (48*48 instead of 32*32)
  • When using SStatus with form = circle, the circles are now actually circular for any size
  • The slider groove is now bigger in touch-friendly apps to make it easier to use

Closes #1068 (closed)

How to test it?

  • Launch SightViewer. There is no changes (SightViewer isn't a touch-friendly application)
  • Launch SightViewer with touch_friendly=true. The toolbar buttons should now be bigger.
  • Explicitly set the icon size of one of the toolbar in SightViewer. The icons for this toolbar changed.
  • Launch ExDetectCamMotion. The status circle looks like a circle.
  • Change the size of the status circle. The status circle still looks like a circle.
  • Launch ExSParameters. The new slider look is active.

Some results

slider_bigger_groove

Additional tests/tasks to run

  • Test on a touchscreen.
Edited by Lucas SCHMIDT

Merge request reports