MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / setGuiScale

Method setGuiScale

ij/src/main/java/ij/Prefs.java:795–801  ·  view source on GitHub ↗

Sets the GenericDialog and Command Finder text scale (0.5 to 3.0).

(double scale)

Source from the content-addressed store, hash-verified

793
794 /** Sets the GenericDialog and Command Finder text scale (0.5 to 3.0). */
795 public static void setGuiScale(double scale) {
796 if (scale>=0.5 && scale<=3.0) {
797 guiScale = scale;
798 set(GUI_SCALE, guiScale);
799 Roi.resetDefaultHandleSize();
800 }
801 }
802
803 /** Returns the GenericDialog and Command Finder text scale. */
804 public static double getGuiScale() {

Callers 2

showDialogMethod · 0.95
dialogItemChangedMethod · 0.95

Calls 2

setMethod · 0.95

Tested by

no test coverage detected