make border golden
The black border was not visible on black task bars. It looked like the white background with the R was the logo, which made the impression that the logo was not scaled correctly.
This commit is contained in:
BIN
icon7_gold3.png
Normal file
BIN
icon7_gold3.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.1 KiB |
5
main.py
5
main.py
@@ -23,7 +23,7 @@ MAX_LINE_LENGTH = 4096
|
|||||||
logging.basicConfig(level=logging.INFO)
|
logging.basicConfig(level=logging.INFO)
|
||||||
log = logging.getLogger("main")
|
log = logging.getLogger("main")
|
||||||
|
|
||||||
raven_icon = "icon7.png"
|
raven_icon = "icon7_gold3.png"
|
||||||
|
|
||||||
|
|
||||||
class MainWindow(QMainWindow):
|
class MainWindow(QMainWindow):
|
||||||
@@ -194,7 +194,8 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
# make icon appear in Windows
|
# make icon appear in Windows
|
||||||
# see https://stackoverflow.com/questions/1551605/how-to-set-applications-taskbar-icon-in-windows-7/1552105#1552105
|
# see https://stackoverflow.com/questions/1551605/how-to-set-applications-taskbar-icon-in-windows-7/1552105#1552105
|
||||||
myappid = 'opentext.ravenlog.0.1' # arbitrary string
|
if sys.platform == 'win32' or sys.platform == 'cygwin':
|
||||||
|
myappid = 'opentext.ravenlog' # arbitrary string
|
||||||
ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID(myappid)
|
ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID(myappid)
|
||||||
|
|
||||||
# translator = QTranslator()
|
# translator = QTranslator()
|
||||||
|
|||||||
Reference in New Issue
Block a user