mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-11-07 17:36:00 +00:00
Show API version in settings
This commit is contained in:
parent
06a21d2c78
commit
f725ec06e3
1 changed files with 11 additions and 1 deletions
|
|
@ -1640,7 +1640,17 @@ class PluginManagerSettingsWindow(popup.PopupWindow):
|
||||||
color=color,
|
color=color,
|
||||||
maxwidth=width * 0.95)
|
maxwidth=width * 0.95)
|
||||||
|
|
||||||
pos -= 70
|
pos -= 45
|
||||||
|
ba.textwidget(parent=self._root_widget,
|
||||||
|
position=(width * 0.22, pos-5),
|
||||||
|
size=(0, 0),
|
||||||
|
h_align='center',
|
||||||
|
v_align='center',
|
||||||
|
text=f'API Version: {ba.app.api_version}',
|
||||||
|
scale=text_scale * 0.7,
|
||||||
|
color=(0.4, 0.8, 1),
|
||||||
|
maxwidth=width * 0.95)
|
||||||
|
pos -= 25
|
||||||
ba.buttonwidget(parent=self._root_widget,
|
ba.buttonwidget(parent=self._root_widget,
|
||||||
position=((width * 0.49) - button_size[0] / 2, pos),
|
position=((width * 0.49) - button_size[0] / 2, pos),
|
||||||
size=button_size,
|
size=button_size,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue