File tree 2 files changed +8
-10
lines changed
packages/html/src/imageeditor/templates
2 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 1
1
import { ImageEditor } from ".." ;
2
2
import { ButtonGroup , ToolbarItem , ToolbarSeparator } from "../.." ;
3
3
import { Button } from "../../button" ;
4
- import { Checkbox } from "../../checkbox" ;
4
+ import { CheckboxWithLabelAfter } from "../../checkbox" ;
5
5
import { DropdownList } from "../../dropdownlist" ;
6
6
import { FormNormal , Fieldset , FormField } from "../../form" ;
7
7
import { NumericTextbox } from "../../numerictextbox" ;
@@ -26,8 +26,8 @@ export const ImageEditorCrop = (props: any) => (
26
26
actionPane = {
27
27
< FormNormal tag = "div" className = "k-imageeditor-pane-form" formButtons = {
28
28
< >
29
- < Button themeColor = "primary" > Confirm</ Button >
30
- < Button > Cancel</ Button >
29
+ < Button themeColor = "primary" icon = "check" > Confirm</ Button >
30
+ < Button icon = "cancel-outline" > Cancel</ Button >
31
31
</ >
32
32
} >
33
33
< Fieldset layout = "grid" legend = "Crop Image" cols = { 2 } gapX = { 2 } >
@@ -58,8 +58,7 @@ export const ImageEditorCrop = (props: any) => (
58
58
/>
59
59
< FormField
60
60
colSpan = "2"
61
- label = "Lock aspect ratio:"
62
- editor = { < Checkbox /> }
61
+ editor = { < CheckboxWithLabelAfter > Lock aspect ratio</ CheckboxWithLabelAfter > }
63
62
/>
64
63
</ Fieldset >
65
64
</ FormNormal >
Original file line number Diff line number Diff line change 1
1
import { ImageEditor } from ".." ;
2
2
import { Button } from "../../button" ;
3
- import { Checkbox } from "../../checkbox" ;
3
+ import { CheckboxWithLabelAfter } from "../../checkbox" ;
4
4
import { DropdownList } from "../../dropdownlist" ;
5
5
import { FormNormal , Fieldset , FormField } from "../../form" ;
6
6
import { NumericTextbox } from "../../numerictextbox" ;
@@ -26,8 +26,8 @@ export const ImageEditorResize = (props: any) => (
26
26
actionPane = {
27
27
< FormNormal tag = "div" className = "k-imageeditor-pane-form" formButtons = {
28
28
< >
29
- < Button themeColor = "primary" > Confirm</ Button >
30
- < Button > Cancel</ Button >
29
+ < Button themeColor = "primary" icon = "check" > Confirm</ Button >
30
+ < Button icon = "cancel-outline" > Cancel</ Button >
31
31
</ >
32
32
} >
33
33
< Fieldset layout = "grid" legend = "Resize Image" cols = { 2 } gapX = { 2 } >
@@ -53,8 +53,7 @@ export const ImageEditorResize = (props: any) => (
53
53
/>
54
54
< FormField
55
55
colSpan = "2"
56
- label = "Lock aspect ratio:"
57
- editor = { < Checkbox /> }
56
+ editor = { < CheckboxWithLabelAfter > Lock aspect ratio</ CheckboxWithLabelAfter > }
58
57
/>
59
58
</ Fieldset >
60
59
</ FormNormal >
You can’t perform that action at this time.
0 commit comments