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:
parent
13e526de43
commit
36abb38f26
3 changed files with 24 additions and 9 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue