How to fix position of BIRT report Export icon in Eclipse view
It seems that the css or positioning logic in the Eclipse client is different to how browsers implement the same in the Web UI. The width of our custom BIRT report is long and causes a scroll bar to appear below the report. When you scroll across, the Export icon moves to the left and then disappears off the left of the display when you continue scrolling to the right. This seems to be the default behavior of other out-of-the-box BIRT reports too.
In comparison, the same report when displayed in the Web UI uses positioning, such that the Export icon stays at the right of the page no matter you scroll to the right or not. Is there some css you can apply to a report to get the same absolute positioning of the Export icon in the Eclipse client? How might we achieve that? Eclipse client before scroll Eclipse client after scrolling to the right Comparison with Web UI (Firefox). This is the behavior we are looking for the Eclipse. Here the Export icon is fixed to the right and not visible, but appears when you scroll to the right. |
Accepted answer
The internal browser of Eclipse on Windows is Internet Explorer. So you should compare the result with the standalone IE, not Firefox.
There seems to be no way to change the internal browser. However, with an Eclipse base newer than 3.7.x (RTC Eclipse client bundles Eclipse 3.6.x), you can force it the use the external Firefox browser by add the following line in the eclipse.ini file. -Dorg.eclipse.swt.browser.DefaultType=mozillaThe caveat is that the report will be displayed in a Firefox windows, not an "internal" Eclipse view. For more information, check out the SWT FAQ. https://www.eclipse.org/swt/faq.php Ian Wark selected this answer as the correct answer
Comments
Ian Wark
commented Sep 02 '15, 2:07 a.m.
We did some more testing on this.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.
Comments
Is anyone able to help us with this question?