diff --git a/Applications/PixelPaint/LayerPropertiesWidget.cpp b/Applications/PixelPaint/LayerPropertiesWidget.cpp index 9c69e809e6..cfdee65c0a 100644 --- a/Applications/PixelPaint/LayerPropertiesWidget.cpp +++ b/Applications/PixelPaint/LayerPropertiesWidget.cpp @@ -30,7 +30,7 @@ #include #include #include -#include +#include #include #include @@ -68,8 +68,7 @@ LayerPropertiesWidget::LayerPropertiesWidget() opacity_label.set_text_alignment(Gfx::TextAlignment::CenterLeft); opacity_label.set_fixed_size(80, 20); - m_opacity_slider = opacity_container.add(); - m_opacity_slider->set_fixed_height(20); + m_opacity_slider = opacity_container.add(); m_opacity_slider->set_range(0, 100); m_opacity_slider->on_change = [this](int value) { if (m_layer) diff --git a/Applications/PixelPaint/LayerPropertiesWidget.h b/Applications/PixelPaint/LayerPropertiesWidget.h index ce2d65dc43..e07e02ec93 100644 --- a/Applications/PixelPaint/LayerPropertiesWidget.h +++ b/Applications/PixelPaint/LayerPropertiesWidget.h @@ -44,7 +44,7 @@ private: LayerPropertiesWidget(); RefPtr m_visibility_checkbox; - RefPtr m_opacity_slider; + RefPtr m_opacity_slider; RefPtr m_name_textbox; WeakPtr m_layer;