|
1 | 1 | <Dialog id="addNewFragmentDialog"
|
2 | 2 | xmlns="sap.m"
|
3 | 3 | xmlns:core="sap.ui.core"
|
| 4 | + xmlns:l="sap.ui.layout" |
4 | 5 | xmlns:f="sap.ui.layout.form"
|
5 | 6 | title="{/title}"
|
6 | 7 | contentWidth="500px"
|
| 8 | + initialFocus="aggregationName" |
7 | 9 | class="sapUiRTABorder">
|
8 | 10 | <content>
|
9 | 11 | <f:SimpleForm id="addNewFragmentDialog_Form"
|
|
13 | 15 | singleContainerFullSize="false">
|
14 | 16 | <f:content>
|
15 | 17 | <Label visible="{/completeView}" text="{i18n>ADP_ADD_FRAGMENT_DIALOG_CONTROL_TYPE_LABEL}" />
|
16 |
| - <Text visible="{/completeView}" text="{/selectedControlName}" /> |
| 18 | + <Input |
| 19 | + id="controlType" |
| 20 | + visible="{/completeView}" |
| 21 | + value="{/selectedControlName}" |
| 22 | + editable="false" /> |
17 | 23 | <Label visible="{/completeView}" text="{i18n>ADP_ADD_FRAGMENT_DIALOG_AGGREGATION_LABEL}" />
|
18 | 24 | <Select
|
| 25 | + id="aggregationName" |
19 | 26 | visible="{/completeView}"
|
20 | 27 | change="onAggregationChanged"
|
21 | 28 | selectedKey="{/selectedAggregation/key}"
|
|
26 | 33 | <core:Item key="{key}" text="{value}" />
|
27 | 34 | </Select>
|
28 | 35 | <Label text="{i18n>ADP_ADD_FRAGMENT_DIALOG_INDEX_LABEL}" />
|
29 |
| - <HBox alignItems="Center"> |
30 | 36 | <Select
|
| 37 | + id="aggregationIndex" |
31 | 38 | enabled="{/indexHandlingFlag}"
|
32 | 39 | selectedKey="{path: '/selectedIndex', type: 'sap.ui.model.type.Integer'}"
|
33 | 40 | items="{
|
|
37 | 44 | <core:Item key="{key}" text="{value}" />
|
38 | 45 | </Select>
|
39 | 46 | <core:Icon
|
| 47 | + id="aggregationIndexInfoIcon" |
40 | 48 | useIconTooltip="false"
|
41 | 49 | visible="{/specialIndexHandlingIcon}"
|
42 | 50 | src="sap-icon://message-information"
|
43 |
| - class= "sapUiTinyMarginBegin" |
44 |
| - tooltip="{/iconTooltip}" /> |
45 |
| - </HBox> |
46 |
| - <Label text="{i18n>ADP_ADD_FRAGMENT_DIALOG_FRAGMENT_NAME_LABEL}" /> |
| 51 | + width="1rem" |
| 52 | + height="2rem" |
| 53 | + tooltip="{/iconTooltip}"> |
| 54 | + <core:layoutData> |
| 55 | + <l:GridData span="S6" /> |
| 56 | + </core:layoutData> |
| 57 | + </core:Icon> |
| 58 | + <Label text="{i18n>ADP_ADD_FRAGMENT_DIALOG_FRAGMENT_NAME_LABEL}" required="true" /> |
47 | 59 | <Input
|
| 60 | + id="fragmentName" |
48 | 61 | description=".fragment.xml"
|
49 | 62 | value="{/newFragmentName}"
|
50 | 63 | liveChange="onFragmentNameInputChange">
|
|
0 commit comments