GitLab will be upgraded on June 23rd evening. During the upgrade the service will be unavailable, sorry for the inconvenience.

Commit 6b6ea839 authored by Thomas Vincent's avatar Thomas Vincent

Allow to display any label (not just 1 char)

parent 89c16d94
......@@ -35,7 +35,7 @@ from collections import namedtuple
from silx.gui import qt as Qt
from silx.gui.widgets.RangeSlider import RangeSlider
from ..widgets.Input import StyledLineEdit, FixedSizeLabel
from ..widgets.Input import StyledLineEdit
RangeSliderState = namedtuple('RangeSliderState', ['left', 'right',
......@@ -57,7 +57,7 @@ class RoiAxisWidget(Qt.QWidget):
super(RoiAxisWidget, self).__init__(**kwargs)
layout = Qt.QGridLayout(self)
self.__label = FixedSizeLabel(nChar=1)
self.__label = Qt.QLabel()
self.__label.setFrameStyle(Qt.QFrame.NoFrame | Qt.QFrame.Plain)
self.__slider = RangeSlider()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment