Skip to content

Commit

Permalink
Merge pull request #4991 from irgolic/notification-settings-alignment
Browse files Browse the repository at this point in the history
mainwindow: Vertically align notifications settings
  • Loading branch information
PrimozGodec committed Oct 8, 2020
2 parents 4968f79 + 4d42355 commit 7e89a72
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Orange/canvas/mainwindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from AnyQt.QtWidgets import (
QFormLayout, QCheckBox, QLineEdit, QWidget, QVBoxLayout, QLabel
)
from orangecanvas.application.settings import UserSettingsDialog
from orangecanvas.application.settings import UserSettingsDialog, FormLayout
from orangecanvas.document.usagestatistics import UsageStatistics
from orangecanvas.utils.overlay import NotificationOverlay

Expand All @@ -26,7 +26,7 @@ def __init__(self, *args, **kwargs):
self.addTab(tab, self.tr("Reporting"),
toolTip="Settings related to reporting")

form = QFormLayout()
form = FormLayout()
line_edit_mid = QLineEdit()
self.bind(line_edit_mid, "text", "reporting/machine-id")
form.addRow("Machine ID:", line_edit_mid)
Expand Down Expand Up @@ -58,7 +58,7 @@ def __init__(self, *args, **kwargs):
self.addTab(tab, self.tr("Notifications"),
toolTip="Settings related to notifications")

form = QFormLayout()
form = FormLayout()

box = QWidget()
layout = QVBoxLayout()
Expand Down

0 comments on commit 7e89a72

Please sign in to comment.