mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-11-07 17:36:00 +00:00
Update plugin_manager.py
This commit is contained in:
parent
ca2731cf62
commit
6f42f2aa9f
1 changed files with 8 additions and 6 deletions
|
|
@ -31,7 +31,7 @@ from datetime import datetime
|
||||||
from threading import Thread
|
from threading import Thread
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
PLUGIN_MANAGER_VERSION = "1.0.13"
|
PLUGIN_MANAGER_VERSION = "1.0.14"
|
||||||
REPOSITORY_URL = "https://github.com/bombsquad-community/plugin-manager"
|
REPOSITORY_URL = "https://github.com/bombsquad-community/plugin-manager"
|
||||||
# Current tag can be changed to "staging" or any other branch in
|
# Current tag can be changed to "staging" or any other branch in
|
||||||
# plugin manager repo for testing purpose.
|
# plugin manager repo for testing purpose.
|
||||||
|
|
@ -954,15 +954,17 @@ class PluginWindow(popup.PopupWindow):
|
||||||
scale=text_scale * 1.25, color=color,
|
scale=text_scale * 1.25, color=color,
|
||||||
maxwidth=width * 0.9)
|
maxwidth=width * 0.9)
|
||||||
pos -= 25
|
pos -= 25
|
||||||
# author =
|
# Author
|
||||||
|
text = 'by ' + ', '.join([author["name"] for author in self.plugin.info["authors"]])
|
||||||
bui.textwidget(parent=self._root_widget,
|
bui.textwidget(parent=self._root_widget,
|
||||||
position=(width * 0.49, pos),
|
position=(width * 0.49 - (len(text)*14/2), pos - 10),
|
||||||
size=(0, 0),
|
size=(len(text)*14, 20),
|
||||||
h_align='center',
|
h_align='center',
|
||||||
v_align='center',
|
v_align='center',
|
||||||
text='by ' + self.plugin.info["authors"][0]["name"],
|
text=text,
|
||||||
scale=text_scale * 0.8,
|
scale=text_scale * 0.8,
|
||||||
color=color, maxwidth=width * 0.9)
|
color=color,
|
||||||
|
maxwidth=width * 0.9)
|
||||||
pos -= 35
|
pos -= 35
|
||||||
# status = bui.textwidget(parent=self._root_widget,
|
# status = bui.textwidget(parent=self._root_widget,
|
||||||
# position=(width * 0.49, pos), size=(0, 0),
|
# position=(width * 0.49, pos), size=(0, 0),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue