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
i dont think its about the version of ida but in the code from this function you return a double then pass it to qt
file : util/qt/util.py line 47
defget_dpi_scale():
""" Get a DPI-afflicted value useful for consistent UI scaling. """font=MonospaceFont()
font.setPointSize(normalize_font(120))
fm=QtGui.QFontMetricsF(font)
# xHeight is expected to be 40.0 at normal DPIreturnfm.height() /173.0
then you pass it to qt functions which all params are int here
file : util/qt/waitbox.py line 89
v_layout.setSpacing(int(self._dpi_scale*3))
v_layout.setContentsMargins(
self._dpi_scale*5,
self._dpi_scale,
self._dpi_scale*5,
self._dpi_scale
)
# scale widget dimensions based on DPIheight=self._dpi_scale*15self.setMinimumHeight(height)
so if you change that line 65 of code in waitbox.py to that you will fix the issue
self._dpi_scale=int(get_dpi_scale()*5.0)
The text was updated successfully, but these errors were encountered:
i dont think its about the version of ida but in the code from this function you return a double then pass it to qt
file : util/qt/util.py line 47
then you pass it to qt functions which all params are int here
file : util/qt/waitbox.py line 89
so if you change that line 65 of code in waitbox.py to that you will fix the issue
The text was updated successfully, but these errors were encountered: