Compare commits
2 Commits
781488c16f
...
5391549ff3
Author | SHA1 | Date | |
---|---|---|---|
5391549ff3 | |||
c3f1d114f2 |
@ -10,7 +10,7 @@ import shutil
|
|||||||
import tkinter as tk
|
import tkinter as tk
|
||||||
from typing import Optional, Dict, Any, NoReturn
|
from typing import Optional, Dict, Any, NoReturn
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from tkinter import ttk, Toplevel
|
from tkinter import Toplevel
|
||||||
|
|
||||||
|
|
||||||
class CryptoUtil:
|
class CryptoUtil:
|
||||||
|
1
gitea.py
1
gitea.py
@ -5,7 +5,6 @@ import requests
|
|||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
import subprocess
|
import subprocess
|
||||||
import shutil
|
import shutil
|
||||||
from shared_libs.common_tools import LxTools
|
|
||||||
from shared_libs.message import MessageDialog
|
from shared_libs.message import MessageDialog
|
||||||
|
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@ import os
|
|||||||
from typing import List, Optional, Dict
|
from typing import List, Optional, Dict
|
||||||
import tkinter as tk
|
import tkinter as tk
|
||||||
from tkinter import ttk
|
from tkinter import ttk
|
||||||
from manager import Center
|
from shared_libs.common_tools import LxTools
|
||||||
|
|
||||||
"""
|
"""
|
||||||
####################################################
|
####################################################
|
||||||
@ -254,7 +254,7 @@ class MessageDialog:
|
|||||||
self.window.attributes("-alpha", 0.0) # 100% Transparencence
|
self.window.attributes("-alpha", 0.0) # 100% Transparencence
|
||||||
self.window.after(200, lambda: self.window.attributes("-alpha", 100.0))
|
self.window.after(200, lambda: self.window.attributes("-alpha", 100.0))
|
||||||
self.window.update() # Window update before centering!
|
self.window.update() # Window update before centering!
|
||||||
Center.center_window_cross_platform(
|
LxTools.center_window_cross_platform(
|
||||||
self.window, self.window.winfo_width(), self.window.winfo_height()
|
self.window, self.window.winfo_width(), self.window.winfo_height()
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user