Added: #2370 Snap align border space, object spacing, center alignment,

Setting for color and snap accuracy for guides, grid, 
Dialogs for editing grid, guides and snapping
This commit is contained in:
Jindra Petřík
2025-05-08 00:17:36 +02:00
parent 3d9e44d3f1
commit c63ce2a26e
16 changed files with 1073 additions and 51 deletions
+13 -1
View File
@@ -334,7 +334,7 @@ public class View {
images.add(loadImage(icon + "16"));
images.add(loadImage(icon + "32"));
f.setIconImages(images);
}
}
/**
* Sets icon of specified frame to ASDec icon
@@ -363,6 +363,18 @@ public class View {
f.setIconImages(images);
}
}
/**
* Sets icon of the window - only 16 px variant.
*
* @param f
* @param icon Icon identifier. Icon must exist in 16px variant.
*/
public static void setWindowIcon16(Window f, String icon) {
List<Image> images = new ArrayList<>();
images.add(loadImage(icon + "16"));
f.setIconImages(images);
}
public static void centerScreenMain(Window f) {
centerScreen(f, true);