Now Plugin Link Button Works on All Devices.

This commit is contained in:
Vishal 2022-08-09 02:11:08 +05:30 committed by GitHub
parent 355ee66b86
commit 40c4c4d6a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -465,10 +465,10 @@ class PluginWindow(popup.PopupWindow):
ba.containerwidget(edit=self._root_widget,
on_cancel_call=self._ok)
open_pos_x = (500 if _uiscale is ba.UIScale.SMALL else
440 if _uiscale is ba.UIScale.MEDIUM else 350)
open_pos_y = (130 if _uiscale is ba.UIScale.SMALL else
60 if _uiscale is ba.UIScale.MEDIUM else 120)
open_pos_x = (300 if _uiscale is ba.UIScale.SMALL else
360 if _uiscale is ba.UIScale.MEDIUM else 350)
open_pos_y = (100 if _uiscale is ba.UIScale.SMALL else
110 if _uiscale is ba.UIScale.MEDIUM else 120)
open_button = ba.buttonwidget(parent=self._root_widget,
autoselect=True,
position=(open_pos_x, open_pos_y),