Skip to content
Snippets Groups Projects
Commit d745e3a7 authored by buczekp's avatar buczekp
Browse files

minor: changed layout of buttons in paging toolbar

SVN: 14681
parent 6ce7ffcb
No related branches found
No related tags found
No related merge requests found
...@@ -65,13 +65,12 @@ public final class BrowserGridPagingToolBar extends PagingToolBar ...@@ -65,13 +65,12 @@ public final class BrowserGridPagingToolBar extends PagingToolBar
// Remove the space before the refresh button and replace it with display text // Remove the space before the refresh button and replace it with display text
Component fillItem = getItem(indexOf(displayText) - 1); Component fillItem = getItem(indexOf(displayText) - 1);
remove(fillItem); remove(fillItem);
// Add a separator and some fill space // Add a separator and some fill space
nextTableButtonIndex = indexOf(displayText) + 1; nextTableButtonIndex = indexOf(displayText) + 1;
SeparatorToolItem separator = new SeparatorToolItem(); SeparatorToolItem separator = new SeparatorToolItem();
insertTableButton(separator); insertTableButton(separator);
insertTableButton(new FillToolItem());
this.messageProvider = messageProvider; this.messageProvider = messageProvider;
insertTableButton(createTableOperationsLabel()); insertTableButton(createTableOperationsLabel());
...@@ -88,6 +87,8 @@ public final class BrowserGridPagingToolBar extends PagingToolBar ...@@ -88,6 +87,8 @@ public final class BrowserGridPagingToolBar extends PagingToolBar
this.exportButton = createExportButton(messageProvider, invoker); this.exportButton = createExportButton(messageProvider, invoker);
disableExportButton(); disableExportButton();
insertTableButton(exportButton); insertTableButton(exportButton);
insertTableButton(new FillToolItem());
} }
/** Total number of items on all pages */ /** Total number of items on all pages */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment