Mini Kabibi Habibi

Current Path : C:/Program Files/Adobe/Adobe Photoshop 2025/Required/drover_layouts/transform/bars/
Upload File :
Current File : C:/Program Files/Adobe/Adobe Photoshop 2025/Required/drover_layouts/transform/bars/crop_bar.eve

layout crop_bar {
    interface:
        includeGenerate: true;
        includeDismiss: false;

    view context_bar() {
        optional(bind: @includeGenerate) {
            context_button(identifier: "generate", image: "CxUI_GenerativeExpand", name: '$$$/CxUI/Crop/Bar/Button/Generate/Label=Generative Expand', alt: '$$$/CxUI/Crop/Bar/Button/Generate/Tooltip=Generate new content with or without text prompts.');
        }
        popup(identifier: 'ratio', alt: '$$$/CxUI/Crop/Bar/Popup/Ratio/Tooltip=Select a preset aspect ratio');
        context_button(identifier: "straighten", image: "Drover_CropLevel", variant:'action', is_quiet:true, alt: '$$$/CxUI/Crop/Bar/Button/Straighten/Tooltip=Straighten the image by drawing a line on it');
        context_button(identifier: "more", image: "More_Options", variant:'action', is_quiet:true, alt: '$$$/CxUI/Start/Bar/Button/MoreOptions/More=More options');
        optional(bind: @includeDismiss) {
            context_button(identifier: "cancel", is_quiet:true, name: '$$$/CxUI/Crop/Bar/Button/Cancel/Label=Cancel', alt:'$$$/CropCommandOptions/ToolTip/Cancel=Cancel current crop operation');
        }
        optional(bind: @includeDismiss) {
            context_button(identifier: "commit", is_quiet:true, name: '$$$/CxUI/Crop/Bar/Button/Done/Label=Done', alt:'$$$/CropCommandOptions/ToolTip/OK=Commit current crop operation');
        }
    }
}