mirror of
https://github.com/Wanderson-Magalhaes/PyOneDark_Qt_Widgets_Modern_GUI.git
synced 2026-04-19 03:59:25 +00:00
07/05/2021
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user