File tree Expand file tree Collapse file tree 2 files changed +19
-22
lines changed
src/main/java/org/jabref/gui/groups Expand file tree Collapse file tree 2 files changed +19
-22
lines changed Original file line number Diff line number Diff line change 102102 -fx-translate-x : -0.4em ;
103103}
104104
105- # barBottom {
105+ # newGroupButton {
106+ -fx-padding : 0.1em 1.5em 0.1em 1.5em ;
107+ }
108+
109+ # groupFilterBar {
106110 -fx-background-color : -jr-sidepane-header-background;
107111 -fx-border-color : -jr-separator;
108112 -fx-border-width : 1 0 0 0 ;
109113 -fx-padding : 0em 1em 0em 1em ;
110114}
111115
112- # barBottom .glyph-icon {
116+ # groupFilterBar .glyph-icon {
113117 -fx-font-size : 2em ;
114118}
Original file line number Diff line number Diff line change 77<?import javafx .scene.control.TreeTableView?>
88<?import javafx .scene.layout.BorderPane?>
99<?import javafx .scene.layout.HBox?>
10- <?import javafx .scene.layout.Region?>
1110<?import org .jabref.gui.icon.JabRefIconView?>
1211<?import org .controlsfx.control.textfield.CustomTextField?>
1312<BorderPane xmlns : fx =" http://javafx.com/fxml/1" prefHeight =" 600.0" prefWidth =" 150.0"
1413 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 >
1527 <center >
1628 <TreeTableView fx : id =" groupTree" layoutY =" -7.0" prefHeight =" 600.0" prefWidth =" 250.0" >
1729 <columns >
2638 </columnResizePolicy >
2739 </TreeTableView >
2840 </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 >
4841</BorderPane >
You can’t perform that action at this time.
0 commit comments