File tree 2 files changed +19
-22
lines changed
src/main/java/org/jabref/gui/groups
2 files changed +19
-22
lines changed Original file line number Diff line number Diff line change 102
102
-fx-translate-x : -0.4em ;
103
103
}
104
104
105
- # barBottom {
105
+ # newGroupButton {
106
+ -fx-padding : 0.1em 1.5em 0.1em 1.5em ;
107
+ }
108
+
109
+ # groupFilterBar {
106
110
-fx-background-color : -jr-sidepane-header-background;
107
111
-fx-border-color : -jr-separator;
108
112
-fx-border-width : 1 0 0 0 ;
109
113
-fx-padding : 0em 1em 0em 1em ;
110
114
}
111
115
112
- # barBottom .glyph-icon {
116
+ # groupFilterBar .glyph-icon {
113
117
-fx-font-size : 2em ;
114
118
}
Original file line number Diff line number Diff line change 7
7
<?import javafx .scene.control.TreeTableView?>
8
8
<?import javafx .scene.layout.BorderPane?>
9
9
<?import javafx .scene.layout.HBox?>
10
- <?import javafx .scene.layout.Region?>
11
10
<?import org .jabref.gui.icon.JabRefIconView?>
12
11
<?import org .controlsfx.control.textfield.CustomTextField?>
13
12
<BorderPane xmlns : fx =" http://javafx.com/fxml/1" prefHeight =" 600.0" prefWidth =" 150.0"
14
13
xmlns =" http://javafx.com/javafx/8.0.112" fx : controller =" org.jabref.gui.groups.GroupTreeView" >
14
+ <top >
15
+ <HBox fx : id =" groupFilterBar" alignment =" CENTER" spacing =" 8" >
16
+ <CustomTextField fx : id =" searchField" promptText =" %Filter groups" HBox.hgrow=" ALWAYS" />
17
+ <Button fx : id =" newGroupButton" onAction =" #addNewGroup" styleClass =" icon-button" ButtonBar.buttonData=" RIGHT" >
18
+ <graphic >
19
+ <JabRefIconView glyph =" NEW_GROUP" glyphSize =" 18" />
20
+ </graphic >
21
+ <tooltip >
22
+ <Tooltip text =" %New group" />
23
+ </tooltip >
24
+ </Button >
25
+ </HBox >
26
+ </top >
15
27
<center >
16
28
<TreeTableView fx : id =" groupTree" layoutY =" -7.0" prefHeight =" 600.0" prefWidth =" 250.0" >
17
29
<columns >
26
38
</columnResizePolicy >
27
39
</TreeTableView >
28
40
</center >
29
- <bottom >
30
- <HBox fx : id =" barBottom" alignment =" CENTER" >
31
- <ButtonBar fx : id =" buttonBarBottom" >
32
- <buttons >
33
- <Button fx : id =" newGroupButton" onAction =" #addNewGroup" styleClass =" icon-button"
34
- ButtonBar.buttonData=" LEFT" >
35
- <graphic >
36
- <JabRefIconView glyph =" NEW_GROUP" glyphSize =" 18" />
37
- </graphic >
38
- <tooltip >
39
- <Tooltip text =" %New group" />
40
- </tooltip >
41
- </Button >
42
- </buttons >
43
- </ButtonBar >
44
- <Region prefWidth =" 20.0" HBox.hgrow=" ALWAYS" />
45
- <CustomTextField fx : id =" searchField" promptText =" %Filter groups" />
46
- </HBox >
47
- </bottom >
48
41
</BorderPane >
You can’t perform that action at this time.
0 commit comments