mirror of
https://github.com/bec-project/bec_widgets.git
synced 2025-07-13 19:21:50 +02:00
fix(colormap_widget): size policy fixed
This commit is contained in:
@ -20,7 +20,7 @@ class BECColorMapWidget(BECWidget, QWidget):
|
||||
self.button = ColorMapButton()
|
||||
|
||||
# Set the size policy and minimum width
|
||||
size_policy = QSizePolicy(QSizePolicy.MinimumExpanding, QSizePolicy.Fixed)
|
||||
size_policy = QSizePolicy(QSizePolicy.Preferred, QSizePolicy.Fixed)
|
||||
self.button.setSizePolicy(size_policy)
|
||||
self.button.setMinimumWidth(100)
|
||||
self.button.setMinimumHeight(30)
|
||||
|
Reference in New Issue
Block a user