|
19 | 19 | <!-- Point editor -->
|
20 | 20 | <KStyleEditorSection
|
21 | 21 | v-if="canEditPoint"
|
22 |
| - title="KStyleEditor.SECTION_TITLE_POINT" |
| 22 | + label="KStyleEditor.POINT_SECTION" |
23 | 23 | :style="style"
|
24 | 24 | type="point"
|
25 | 25 | :dense="dense"
|
|
30 | 30 | <KStyleProperty v-model="style.point.shape" :name="$t('KStyleEditor.SHAPE')" type="shape" :dense="dense" />
|
31 | 31 | <KStylePropertiesGroup
|
32 | 32 | v-if="!is3D"
|
| 33 | + label="KStyleEditor.ICON_GROUP" |
33 | 34 | v-model="style.point.icon"
|
34 |
| - label="icon" |
35 | 35 | :properties="pointIconProperties"
|
36 | 36 | :dense="dense"
|
37 | 37 | />
|
38 | 38 | <KStylePropertiesGroup
|
| 39 | + label="KStyleEditor.STROKE_GROUP" |
39 | 40 | v-model="style.point.stroke"
|
40 |
| - label="stroke" |
41 | 41 | :properties="pointStrokeProperties"
|
42 | 42 | :dense="dense"
|
43 | 43 | />
|
44 | 44 | </KStyleEditorSection>
|
45 | 45 | <!-- Line editor -->
|
46 | 46 | <KStyleEditorSection
|
47 | 47 | v-if="canEditLine"
|
48 |
| - title="KStyleEditor.SECTION_TITLE_LINE" |
| 48 | + label="KStyleEditor.LINE_SECTION" |
49 | 49 | :style="style"
|
50 | 50 | type="line"
|
51 | 51 | :dense="dense"
|
|
57 | 57 | <!-- Polygon editor -->
|
58 | 58 | <KStyleEditorSection
|
59 | 59 | v-if="canEditPolygon"
|
60 |
| - title="KStyleEditor.SECTION_TITLE_POLYGON" |
| 60 | + label="KStyleEditor.POLYGON_SECTION" |
61 | 61 | :style="style"
|
62 | 62 | type="polygon"
|
63 | 63 | :dense="dense"
|
64 | 64 | >
|
65 | 65 | <KStyleProperty v-model="style.polygon.color" :name="$t('KStyleEditor.FILL_COLOR')" type="color" :dense="dense" />
|
66 | 66 | <KStyleProperty v-model="style.polygon.opacity" :name="$t('KStyleEditor.FILL_OPACITY')" type="opacity" :dense="dense" />
|
67 | 67 | <KStylePropertiesGroup
|
| 68 | + label="KStyleEditor.STROKE_GROUP" |
68 | 69 | v-model="style.polygon.stroke"
|
69 |
| - label="stroke" |
70 | 70 | :properties="polygonStrokeProperties"
|
71 | 71 | :dense="dense"
|
72 | 72 | />
|
@@ -172,7 +172,7 @@ const pointStrokeProperties = computed(() => {
|
172 | 172 | })
|
173 | 173 | const pointIconProperties = computed(() => {
|
174 | 174 | return [
|
175 |
| - { name: 'classes', label: 'KStyleEditor.ICON', type: 'color', default: defaultStyle.value.point.icon.classes }, |
| 175 | + { name: 'classes', label: 'KStyleEditor.ICON', type: 'icon', default: defaultStyle.value.point.icon.classes }, |
176 | 176 | { name: 'size', label: 'KStyleEditor.ICON_SIZE', type: 'size', min: 8, max: 48, default: defaultStyle.value.point.icon.size }
|
177 | 177 | ]
|
178 | 178 | })
|
|
0 commit comments