Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Schindl2014-07-11 07:55:08 -0400
committerTom Schindl2014-07-11 07:55:08 -0400
commit719a635862f6b2d1309adcbe402a8ed739df8201 (patch)
treec70113ea75788cb57743491bb22cc7526474f9b4 /testcases
parent5ca938db0104c32c7a72c8dbb5bdc6bd3fd70ee8 (diff)
downloadorg.eclipse.efxclipse-719a635862f6b2d1309adcbe402a8ed739df8201.tar.gz
org.eclipse.efxclipse-719a635862f6b2d1309adcbe402a8ed739df8201.tar.xz
org.eclipse.efxclipse-719a635862f6b2d1309adcbe402a8ed739df8201.zip
Bug 439412 - Horizontal spacing added too often when rendering
MPartSashContainer
Diffstat (limited to 'testcases')
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.e4/Application.e4xmi20
-rwxr-xr-xtestcases/org.eclipse.fx.testcases.e4/css/default.css15
2 files changed, 35 insertions, 0 deletions
diff --git a/testcases/org.eclipse.fx.testcases.e4/Application.e4xmi b/testcases/org.eclipse.fx.testcases.e4/Application.e4xmi
index 3e30ba0f5..ab13ed47d 100755
--- a/testcases/org.eclipse.fx.testcases.e4/Application.e4xmi
+++ b/testcases/org.eclipse.fx.testcases.e4/Application.e4xmi
@@ -101,6 +101,23 @@
<tags>content_a</tags>
</children>
</children>
+ <children xsi:type="advanced:Perspective" xmi:id="_iCfngAjvEeS-OoJT2xrBFg" elementId="org.eclipse.fx.testcases.e4.perspective.6" label="Layout Sample">
+ <tags>myperspective</tags>
+ <children xsi:type="basic:PartSashContainer" xmi:id="_kWd1QAjvEeS-OoJT2xrBFg" elementId="org.eclipse.fx.testcases.e4.partsashcontainer.4" horizontal="true">
+ <tags>mysash</tags>
+ <tags>fx_fixedLayout</tags>
+ <children xsi:type="basic:Part" xmi:id="_lkcEQAjvEeS-OoJT2xrBFg" elementId="org.eclipse.fx.testcases.e4.part.22">
+ <persistedState key="fx_layout_grab_horizontal" value="true"/>
+ <persistedState key="fx_layout_grab_vertical" value="true"/>
+ <tags>mypart</tags>
+ </children>
+ <children xsi:type="basic:Part" xmi:id="_l-Ky4AjvEeS-OoJT2xrBFg" elementId="org.eclipse.fx.testcases.e4.part.23">
+ <persistedState key="fx_layout_grab_horizontal" value="true"/>
+ <persistedState key="fx_layout_grab_vertical" value="true"/>
+ <tags>mypart</tags>
+ </children>
+ </children>
+ </children>
</children>
<mainMenu xmi:id="_W8hHoORZEeGP-5z69KadAQ" elementId="org.eclipse.fx.testcases.e4.menu.0">
<children xsi:type="menu:Menu" xmi:id="_Xwuy0ORZEeGP-5z69KadAQ" elementId="org.eclipse.fx.testcases.e4.menu.1" label="M1">
@@ -154,6 +171,9 @@
<children xsi:type="menu:HandledMenuItem" xmi:id="_MrnaMIfZEeKsYN0U3N_L9Q" elementId="org.eclipse.fx.testcases.e4.handledmenuitem.10" label="Perspective 5" command="_kCbZQO6yEeG4lfn-YKJbJw">
<parameters xmi:id="_PsE6gIfZEeKsYN0U3N_L9Q" elementId="" name="org.eclipse.fx.testcases.e4.command.2.perspective" value="org.eclipse.fx.testcases.e4.perspective.5"/>
</children>
+ <children xsi:type="menu:HandledMenuItem" xmi:id="_SnxwgAjwEeS-OoJT2xrBFg" elementId="org.eclipse.fx.testcases.e4.handledmenuitem.14" label="Layout perspective" command="_kCbZQO6yEeG4lfn-YKJbJw">
+ <parameters xmi:id="_WMZGwAjwEeS-OoJT2xrBFg" elementId="" name="org.eclipse.fx.testcases.e4.command.2.perspective" value="org.eclipse.fx.testcases.e4.perspective.6"/>
+ </children>
</children>
<children xsi:type="menu:Menu" xmi:id="_xS050MayEeKo1rUjbZCXsQ" elementId="org.eclipse.fx.testcases.e4.menu.6" label="Multiple close">
<children xsi:type="menu:DirectMenuItem" xmi:id="_yhjWwMayEeKo1rUjbZCXsQ" elementId="org.eclipse.fx.testcases.e4.directmenuitem.9" label="Close all" iconURI="platform:/plugin/org.eclipse.fx.testcases.e4/css/images/window-close-over.png" contributionURI="bundleclass://org.eclipse.fx.testcases.e4/org.eclipse.fx.testcases.e4.handlers.BatchRemoveHandler"/>
diff --git a/testcases/org.eclipse.fx.testcases.e4/css/default.css b/testcases/org.eclipse.fx.testcases.e4/css/default.css
index 5fdb9cd82..d78f1f9a4 100755
--- a/testcases/org.eclipse.fx.testcases.e4/css/default.css
+++ b/testcases/org.eclipse.fx.testcases.e4/css/default.css
@@ -118,4 +118,19 @@
.content_b {
-fx-background-color: #0f0;
-fx-padding: 10;
+}
+
+.myperspective {
+ -fx-background-color: blue;
+ -fx-padding: 10px;
+}
+
+.mysash {
+ -fx-background-color: green;
+ -fx-hspace: 10;
+ -fx-vspace: 10;
+}
+
+.mypart {
+ -fx-background-color: red;
} \ No newline at end of file

Back to the top