1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 09:07:45 +00:00

PixelPaint: Make LayerListWidget scrollable

Previously only a couple of layers would fit in the layer widget, this
makes it scrollable and also tweaks some sizes and coordinates.
This commit is contained in:
Marcus Nilsson 2021-07-01 01:08:52 +02:00 committed by Andreas Kling
parent 13e526de43
commit 36abb38f26
3 changed files with 24 additions and 9 deletions

View file

@ -7,12 +7,12 @@
#pragma once
#include "Image.h"
#include <LibGUI/Widget.h>
#include <LibGUI/AbstractScrollableWidget.h>
namespace PixelPaint {
class LayerListWidget final
: public GUI::Widget
: public GUI::AbstractScrollableWidget
, ImageClient {
C_OBJECT(LayerListWidget);