summaryrefslogtreecommitdiff
path: root/Userland/Applications/PixelPaint/CreateNewImageDialog.cpp
AgeCommit message (Collapse)Author
2021-11-22PixelPaint: Use better-fitting image sizeBen Wiederhake
This makes the default image fit perfectly into the default viewport, which means the first fit_image_to_view call will end up with a scale of exactly 1. This scale level has no visual artifacts, which is the more intuitive 'default' behavior. Fixes #10975.
2021-09-25PixelPaint: Close New Image dialog after pressing return keyKarol Kosek
13e526de43847ac86d74e3cb0be2d6b930f1d46f added the feature to new Layer dialog. This patch adds it to Image dialog to stay consistent across the app. :^)
2021-09-19PixelPaint: Use main window's icon in the 'Create new image' widgetKarol Kosek
2021-08-18Userland+LibGUI: Add shorthand versions of the Margins constructorsin-ack
This allows for typing [8] instead of [8, 8, 8, 8] to specify the same margin on all edges, for example. The constructors follow CSS' style of specifying margins. The added constructors are: - Margins(int all): Sets the same margin on all edges. - Margins(int vertical, int horizontal): Sets the first argument to top and bottom margins, and the second argument to left and right margins. - Margins(int top, int vertical, int bottom): Sets the first argument to the top margin, the second argument to the left and right margins, and the third argument to the bottom margin.
2021-06-15PixelPaint: Increase default size of new images from 1x1 to 480x360Andreas Kling
2021-06-15PixelPaint: Don't allow creating empty layers or imagesAndreas Kling
2021-04-22Everything: Move to SPDX license identifiers in all files.Brian Gianforcaro
SPDX License Identifiers are a more compact / standardized way of representing file license information. See: https://spdx.dev/resources/use/#identifiers This was done with the `ambr` search and replace tool. ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
2021-01-12Applications: Move to Userland/Applications/Andreas Kling