gui-utilities 1.2.19__py3-none-any.whl → 1.2.23__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -540,7 +540,7 @@ def create_information_message_box(
540
540
  message_box = QDialog()
541
541
  message_box.setObjectName("message_box")
542
542
  message_box.setWindowFlags(Qt.WindowType.FramelessWindowHint)
543
- message_box.setMaximumWidth(480)
543
+ message_box.setFixedWidth(360)
544
544
  style_sheet = f"""
545
545
  QDialog#message_box {{
546
546
  background-color: {background_color};
@@ -569,6 +569,8 @@ def create_information_message_box(
569
569
  border_radius = label_border_radius
570
570
  )
571
571
  main_layout.addWidget(text_label)
572
+ text_label.setAlignment(Qt.AlignmentFlag.AlignCenter)
573
+ text_label.setWordWrap(True)
572
574
  accept_button = create_button(
573
575
  text = button_text,
574
576
  font_family = button_font_family,
@@ -647,7 +649,7 @@ def create_confirmation_message_box(
647
649
  confirm_message_box = QDialog()
648
650
  confirm_message_box.setObjectName("confirm_message_box")
649
651
  confirm_message_box.setWindowFlags(Qt.WindowType.FramelessWindowHint)
650
- confirm_message_box.setMaximumWidth(480)
652
+ confirm_message_box.setFixedWidth(360)
651
653
  style_sheet = f"""
652
654
  QDialog#confirm_message_box {{
653
655
  background-color: {background_color};
@@ -676,6 +678,8 @@ def create_confirmation_message_box(
676
678
  border_radius = label_border_radius
677
679
  )
678
680
  main_layout.addWidget(text_label)
681
+ text_label.setAlignment(Qt.AlignmentFlag.AlignCenter)
682
+ text_label.setWordWrap(True)
679
683
  buttons_layout = QHBoxLayout()
680
684
  main_layout.addLayout(buttons_layout)
681
685
  buttons_layout.setSpacing(button_spacing)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gui_utilities
3
- Version: 1.2.19
3
+ Version: 1.2.23
4
4
  Summary: Librería de utilidades gráficas en PyQt6
5
5
  Author-email: Guido Iván Gross <grossguidoivan@gmail.com>
6
6
  Requires-Python: >=3.8
@@ -1,11 +1,11 @@
1
- gui_utilities/gui_utilities.py,sha256=OzysHZaH_OligFDbUh2OG-81IYU8iiC45qpGeNjQ8Fc,41927
1
+ gui_utilities/gui_utilities.py,sha256=0uj4O8GWvrKBPtuLKPnaVIMc3d1T0s8cCPtnUiKqCEA,42105
2
2
  gui_utilities/icons/focused_hide_text_icon.png,sha256=0Ysx7vC-mEVfuSBWx1Zw-UhpqvrTCcIvnQ926wFmuK4,13084
3
3
  gui_utilities/icons/focused_show_text_icon.png,sha256=gmZU7RR4FN-9VSzpD00ZkQ8UGbihO2y808Kh3b_TaEg,6739
4
4
  gui_utilities/icons/hide_text_icon.png,sha256=f5jq6KaAygWNjzP_Ah6dw6eu8q5ml3m56JTeNSTSgEU,7207
5
5
  gui_utilities/icons/show_text_icon.png,sha256=8Vdp2XickPEM-eTb1-qBXf3qmHldSzllMZZfObir9p8,5376
6
6
  gui_utilities/tlds/tlds_list.txt,sha256=wIWmAQGVNsY0ZJy7qPW8kItDTCE4PTq8wcUhC2hpjkw,10916
7
- gui_utilities-1.2.19.dist-info/licenses/LICENSE,sha256=NNoMFs43kWl1J-aqq7_EsPlBjL5XTccWjZlwrlCR-Xc,1093
8
- gui_utilities-1.2.19.dist-info/METADATA,sha256=DG5CC35YB33yDUO96ZpmuO9W2P_9ceLRsbUD45DTT4U,266
9
- gui_utilities-1.2.19.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
10
- gui_utilities-1.2.19.dist-info/top_level.txt,sha256=c4C84nMT41keiX9b1AJJZDBU3kA38c7vOmP9kDie8Lk,14
11
- gui_utilities-1.2.19.dist-info/RECORD,,
7
+ gui_utilities-1.2.23.dist-info/licenses/LICENSE,sha256=NNoMFs43kWl1J-aqq7_EsPlBjL5XTccWjZlwrlCR-Xc,1093
8
+ gui_utilities-1.2.23.dist-info/METADATA,sha256=kzPxt8y6zg71vG7y1n87NOETcnH1DCaYnjF3WMTmF9Y,266
9
+ gui_utilities-1.2.23.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
10
+ gui_utilities-1.2.23.dist-info/top_level.txt,sha256=c4C84nMT41keiX9b1AJJZDBU3kA38c7vOmP9kDie8Lk,14
11
+ gui_utilities-1.2.23.dist-info/RECORD,,