Unsolved CE_ProgressBar does not work on MacOs
-
Hi,
I was trying to implement CE_ProgressBar in a QTableView, but there were serious allignment inssues on MacOs. I spent the entire day looking for what was wrong, but the examples online were identical to the code I had produced. Later I found a bug report stating this was indeed broken: https://bugreports.qt.io/browse/QTBUG-69763 . Also the torrent example included with Qt did not have a working progress bar.
I looked into the differences between v5.9.6 and v5.11.1 and I found there has been a refactor of the code from ./src/widgets/styles/qmacstyle_mac.mm to a new file ./src/plugins/styles/mac/qmacstyle_mac.mm . So I ran a code comparison on both files:
Screenshot 2020-01-13 at 11.42.02-min.png
Now I have little experience with Cocoa, but my guess would be that the rect settings are being ignored to properly position the item. Could anyone have a look?