Skip to content

Commit

Permalink
Merge pull request #735 from borondics/new-pca-denoising-layout
Browse files Browse the repository at this point in the history
PCA denoising layout change
  • Loading branch information
markotoplak committed Jul 23, 2024
2 parents 5e4c9ac + ba85cc5 commit b75a3a9
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions orangecontrib/spectroscopy/widgets/preprocessors/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from AnyQt.QtCore import Qt
from AnyQt.QtWidgets import (
QComboBox, QSpinBox, QVBoxLayout, QFormLayout, QSizePolicy, QLabel
QComboBox, QSpinBox, QVBoxLayout, QHBoxLayout, QFormLayout, QSizePolicy, QLabel
)
from AnyQt.QtGui import QColor

Expand Down Expand Up @@ -337,7 +337,13 @@ def __init__(self, parent=None, **kwargs):

self.__compspin = compspin = QSpinBox(
minimum=1, maximum=100, value=self.__components)
form.addRow("N components", compspin)

endlabel = QLabel("components.")
hboxLayout = QHBoxLayout()
hboxLayout.addWidget(self.__compspin)
hboxLayout.addWidget(endlabel)

form.addRow("Keep", hboxLayout)

self.setLayout(form)

Expand Down

0 comments on commit b75a3a9

Please sign in to comment.