Skip to content

Commit

Permalink
BZ-1004702 - Tidy up the Knowledge Base Settings part of the Project …
Browse files Browse the repository at this point in the history
…screen

(cherry picked from commit b161320)
  • Loading branch information
Rikkola committed Jun 24, 2014
1 parent ac60d2d commit ffcda2a
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@
padding-left: 20px;
}

.mostLightLeftPadding {
padding-left: 10px;
}

.grey {
padding-left: 20px;
color: #808080;
Expand Down Expand Up @@ -79,7 +83,7 @@
<bootstrap:Heading size="4">
<ui:text from="{i18n.KnowledgeSessions}"/>
</bootstrap:Heading>
<gwt:FlowPanel styleName='{style.lightLeftPadding}'>
<gwt:FlowPanel styleName='{style.mostLightLeftPadding}'>
<editor:KSessionsPanel ui:field="statefulSessionsPanel"/>
</gwt:FlowPanel>
</bootstrap:Container>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,6 @@ public KSessionsPanel(

view.setPresenter(this);
}
//
// @Override
// protected KSessionModel createNew(String name) {
// KSessionModel kSessionModel = new KSessionModel();
// kSessionModel.setName(name);
// return kSessionModel;
// }

public void makeReadOnly() {
view.makeReadOnly();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ public void update( int index,
dataGrid.addColumn( column,
CommonConstants.INSTANCE.Edit() );
dataGrid.setColumnWidth( column,
80,
45,
Style.Unit.PX );
}

Expand Down Expand Up @@ -281,7 +281,7 @@ public void update( int index,
dataGrid.addColumn( column,
CommonConstants.INSTANCE.Delete() );
dataGrid.setColumnWidth( column,
80,
60,
Style.Unit.PX );
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,18 @@
<ui:with field="resources" type="org.kie.workbench.common.screens.projecteditor.client.resources.ProjectEditorResources"/>


<ui:style >
.marginLeft {
margin-left: 10px;
}

</ui:style>

<bootstrap:Container>
<bootstrap:ButtonGroup>
<bootstrap:ButtonGroup styleName='{style.marginLeft}'>
<bootstrap:Button text="Add" ui:field="addButton"/>
</bootstrap:ButtonGroup>
<uf:SimpleTable ui:field="dataGrid" height="200px" width="500px"/>
<uf:SimpleTable ui:field="dataGrid" columnPickerVisible="false" height="200px" width="500px"/>
</bootstrap:Container>

</ui:UiBinder>
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<ui:text from="{i18n.MakeDefault}"/>
</bootstrap:Button>
</bootstrap:ButtonGroup>
<bootstrap:ListBox ui:field="list" visibleItemCount="15" width="280px"/>
<bootstrap:ListBox ui:field="list" visibleItemCount="15" width="300px"/>
</bootstrap:Column>
<bootstrap:Column size="2">
<gwt:SimplePanel ui:field="kSessionForm"/>
Expand Down

0 comments on commit ffcda2a

Please sign in to comment.