invesalius / invesalius3

3D medical imaging reconstruction software
https://invesalius.github.io/
GNU General Public License v2.0
627 stars 285 forks source link

FIX: Bitmap controls are centered manually #833

Open vhosouza opened 2 months ago

vhosouza commented 2 months ago

Due to issue on MacOS, the navigation control buttons had the bitmap images left aligned.

To fix, the images are drawn manually.

Also removed legacy code related to the navigation controls.

KNOWN ISSUE: For the tractography and serial_trigger buttons, if they were never activated, they get activated after the navigation is turned on and off. This should be fixed before merging.

vhosouza commented 2 months ago

@rmatsuda, @henrikkauppi, @Rakhesis this PR is OS sensitive. Please test them in Windows and Linux.

Also, if you have a solution to the issue I raised, please commit it here or discuss with me.

rmatsuda commented 2 months ago

Its not working properly in windows. The icons are not indicating if there are disable to click, ie. keeps the same apparence always.

Rakhesis commented 2 months ago

Bugs on Windows:

Rakhesis commented 2 months ago

On Linux, buttons seems to work the same as on Windows.

I found the same bugs that me, @henrikkauppi and @rmatsuda have already described in the comments above for Windows.