07/05/2021

This commit is contained in:
VFX - Visual Effects
2021-05-07 13:30:36 -03:00
parent 1d11513463
commit 6a8db96bf4
5 changed files with 60 additions and 6 deletions

View File

@@ -41,7 +41,7 @@ class PyWindow(QFrame):
self,
parent,
layout = Qt.Vertical,
margin = 10,
margin = 5,
bg_color = "#2c313c",
text_color = "#fff",
text_font = "9pt 'Segoe UI'",
@@ -82,7 +82,7 @@ class PyWindow(QFrame):
# ///////////////////////////////////////////////////////////////
if layout == Qt.Vertical:
# VERTICAL LAYOUT
self.layout = QVBoxLayout(self)
self.layout = QHBoxLayout(self)
else:
# HORIZONTAL LAYOUT
self.layout = QHBoxLayout(self)
@@ -93,7 +93,7 @@ class PyWindow(QFrame):
if self.settings["custom_title_bar"]:
if enable_shadow:
self.shadow = QGraphicsDropShadowEffect()
self.shadow.setBlurRadius(25)
self.shadow.setBlurRadius(20)
self.shadow.setXOffset(0)
self.shadow.setYOffset(0)
self.shadow.setColor(QColor(0, 0, 0, 120))