1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:18:13 +00:00
serenity/Userland/Applications/FileManager
sin-ack e11d177618 Userland+LibGUI: Add shorthand versions of the Margins constructor
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-08-18 10:30:50 +02:00
..
CMakeLists.txt FileManager: Convert properties window UI to GML (#8705) 2021-07-13 12:57:10 +02:00
DesktopWidget.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
DesktopWidget.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
DirectoryView.cpp Userland+LibGUI: Add shorthand versions of the Margins constructor 2021-08-18 10:30:50 +02:00
DirectoryView.h FileManager+FileOperation: Switch to east const 2021-07-22 12:48:44 +02:00
FileManagerWindow.gml FileManager: Set minimum folder pane width 2021-05-13 00:43:41 +01:00
FileOperationProgress.gml Userland+LibGUI: Add shorthand versions of the Margins constructor 2021-08-18 10:30:50 +02:00
FileOperationProgressWidget.cpp FileManager: Switch FileOperationProgressWidget::did_error() to SV& 2021-07-22 12:48:44 +02:00
FileOperationProgressWidget.h FileManager: Switch FileOperationProgressWidget::did_error() to SV& 2021-07-22 12:48:44 +02:00
FileUtils.cpp FileManager: Show progress dialog for file deletions 2021-07-22 12:48:44 +02:00
FileUtils.h FileManager: Show progress dialog for file deletions 2021-07-22 12:48:44 +02:00
main.cpp Userland+LibGUI: Add shorthand versions of the Margins constructor 2021-08-18 10:30:50 +02:00
PropertiesWindow.cpp Userland+LibGUI: Add shorthand versions of the Margins constructor 2021-08-18 10:30:50 +02:00
PropertiesWindow.h FileManager+FileOperation: Switch to east const 2021-07-22 12:48:44 +02:00
PropertiesWindowGeneralTab.gml Userland+LibGUI: Add shorthand versions of the Margins constructor 2021-08-18 10:30:50 +02:00