Mini Kabibi Habibi
// Copyright 2023 Adobe Systems Incorporated
font = static_small_font;
vOutputWidth = max_char_width() * 3;
view(class_name: 'TMeasureOptions', view_id: 'panl', width: gOptionsPanelWidth, height: gOptionsPanelHeight, placement: place_row, child_vertical: align_center, spacing: 2, margin_width: gOptionsMarginWidth, margin_height: gOptionsMarginHeight) {
static_text(horizontal: align_right, name: '$$$/Info/X=X:');
static_text(view_id: 'xout', width: vOutputWidth);
static_text(horizontal: align_right, name: '$$$/Info/Y=Y:');
static_text(view_id: 'yout', width: vOutputWidth);
view(class_name: 'TNarrowGroupSeparator', width: 1, height: gOptionsPanelGroupBarHeight, vertical: align_center);
static_text(horizontal: align_right, name: '$$$/Info/Width=W:');
static_text(view_id: 'wout', width: vOutputWidth);
static_text(horizontal: align_right, name: '$$$/Info/Height=H:');
static_text(view_id: 'hout', width: vOutputWidth);
view(class_name: 'TNarrowGroupSeparator', width: 1, height: gOptionsPanelGroupBarHeight, vertical: align_center);
static_text(horizontal: align_right, name: '$$$/Info/Angle=A:');
static_text(view_id: 'aout', width: vOutputWidth);
static_text(horizontal: align_right, name: '$$$/Info/Distance1=L1:');
static_text(view_id: 'd1ut', width: vOutputWidth);
static_text(horizontal: align_right, name: '$$$/Info/Distance2=L2:');
static_text(view_id: 'd2ut', width: vOutputWidth);
view(class_name: 'TNarrowGroupSeparator', width: 1, height: gOptionsPanelGroupBarHeight, vertical: align_center);
group(margin_right: 2, margin_left: 2, child_vertical: align_center, placement: place_row, spacing: 8) {
check_box(view_id: 'mesc', class_name: 'TMiniCheckBox', alternate_icon: 'UseMeasurementScale', name: '$$$/Info/UseMeasurementScale/Label=Use Measurement Scale', tooltip: '$$$/Info/UseMeasurementScale/ToolTip=Calculate Ruler Tool data using Measurement Scale');
}
view(class_name: 'TNarrowGroupSeparator', width: 1, height: gOptionsPanelGroupBarHeight, vertical: align_center);
group(margin_right: 2, margin_left: 4, child_vertical: align_center, placement: place_row, spacing: 8) {
button(view_id: 'strt', dismiss: false, height: gSmallButtonHeight, name: '$$$/Dialog/MeasureToolOptions/StraightenLayer=Straighten Layer', tooltip: '$$$/Info/MeasureToolOoptins/StraightenTip=Straighten the active layer to make the ruler level');
button(view_id: 'cler', dismiss: false, height: gSmallButtonHeight, name: '$$$/Dialog/MeasureToolOptions/Clear=Clear');
}
}
// Footer - Copyright 2023 Adobe Systems Incorporated