This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 57
/
Editor.ui.xml
51 lines (47 loc) · 1.63 KB
/
Editor.ui.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent">
<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder"
xmlns:g="urn:import:com.google.gwt.user.client.ui"
xmlns:fui="urn:import:org.zanata.webtrans.client.ui"
xmlns:tui="urn:import:org.zanata.webtrans.client.editor.table"
>
<ui:with field="images" type="org.zanata.webtrans.client.editor.table.TableResources" />
<ui:style>
.rootContainer {
outline:none;
}
.bottomContainer {
width:100%;
padding-left:28px;
}
.textArea {
width:98%;
margin-left:3px;
}
</ui:style>
<g:FocusPanel ui:field="rootContainer" styleName="{style.rootContainer}">
<g:VerticalPanel width="100%" spacing="3">
<g:cell horizontalAlignment="ALIGN_LEFT">
<g:HorizontalPanel ui:field="topContainer" width="100%" height="100%">
<g:cell width="20px">
<g:PushButton ui:field="copySourceButton" styleName="gwt-Button">
<g:upFace image="{images.copySrcButton}" />
</g:PushButton>
</g:cell>
<g:cell>
<g:FlowPanel styleName="TableEditorCell-Target">
<fui:HighlightingLabel ui:field="label" />
<tui:EditorTextArea ui:field="textArea" styleName="{style.textArea}"/>
</g:FlowPanel>
</g:cell>
</g:HorizontalPanel>
</g:cell>
<g:cell>
<g:HorizontalPanel ui:field="bottomContainer" styleName="{style.bottomContainer}">
<g:cell>
<g:FlowPanel ui:field="validationMessagePanelContainer"/>
</g:cell>
</g:HorizontalPanel>
</g:cell>
</g:VerticalPanel>
</g:FocusPanel>
</ui:UiBinder>