Skip to main content
summaryrefslogtreecommitdiffstats
blob: d1e70b4a5dbbd84b6378e98a0f0474ec929a3671 (plain) (blame)
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
package org.eclipse.fx.code.compensator.app

import javafx.scene.layout.BorderPane
import org.eclipse.fx.code.compensator.app.CustomWindowPane
import javafx.scene.control.Label
import javafx.scene.image.ImageView
import javafx.scene.image.Image
import org.eclipse.fx.ui.panes.FillLayoutPane
import javafx.scene.control.ToolBar
import javafx.scene.control.TextField
import javafx.scene.Group
import org.eclipse.fx.ui.controls.stage.DefaultWindowPane
import javafx.scene.layout.Pane
import javafx.scene.layout.HBox
import org.eclipse.fx.ui.controls.stage.DefaultTrimmedWindowPane

component ApplicationDecoration styledwith "/css/default.css" {
	DefaultTrimmedWindowPane {
		content : BorderPane {
			top : ToolBar {
				items : [
					Pane {
						^id : "menu-bar-area",
						call HBox#hgrow : "ALWAYS" 
					},
					TextField
				]
			},
			center : FillLayoutPane {
				^id : "client-area"
			}
		}
	}
}

Back to the top