File tree Expand file tree Collapse file tree
java/com/xwintop/xJavaFxTool/newui
resources/com/xwintop/xJavaFxTool/fxmlView/newui Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88import com .xwintop .xJavaFxTool .services .index .SystemSettingService ;
99import com .xwintop .xcore .javafx .dialog .FxAlerts ;
1010import com .xwintop .xcore .util .javafx .JavaFxViewUtil ;
11+ import java .awt .Desktop ;
1112import java .io .IOException ;
13+ import java .net .URI ;
1214import java .util .ArrayList ;
1315import java .util .HashMap ;
1416import java .util .List ;
@@ -148,4 +150,12 @@ public void openPluginManager() {
148150 FxAlerts .error ("打开插件管理对话框失败" , e );
149151 }
150152 }
153+
154+ public void openProjectUrl () {
155+ try {
156+ Desktop .getDesktop ().browse (new URI ("https://gitee.com/xwintop/xJavaFxTool" ));
157+ } catch (Exception e ) {
158+ log .error ("打开项目地址失败" , e );
159+ }
160+ }
151161}
Original file line number Diff line number Diff line change 44 -fx-max-width : -fx-pref-width;
55 -fx-pref-height : 100 ;
66 -fx-min-height : -fx-pref-height;
7- -fx-background-color : # f4f4f4 ;
7+ -fx-background-color : # 494949 ;
88 -fx-background-radius : 5 ;
99 -fx-padding : 5 5 10 5 ;
1010 -fx-border-color : transparent;
2525.app-layout .app-item .app-item-title {
2626 -fx-font-weight : bold;
2727 -fx-padding : 0 5 ;
28- -fx-text-fill : # 555555 ;
28+ -fx-text-fill : # FFFFFF ;
2929}
3030
3131.app-layout .app-item .placeholder {
3232}
3333
3434.app-category-title {
3535 -fx-font-weight : bold;
36- -fx-text-fill : # 888888 ;
36+ -fx-text-fill : # AAAAAA ;
3737}
3838
3939.app-category {
4444 -fx-background-color : none;
4545 -fx-border-width : 0 0 1 0 ;
4646 -fx-border-color : # AAAAAA ;
47+ -fx-text-fill : # FFFFFF ;
4748}
4849
4950.search-text : focused {
Original file line number Diff line number Diff line change 2222
2323 <TabPane VBox.vgrow=" ALWAYS" tabMinWidth =" 45" fx : id =" tabPane" tabClosingPolicy =" ALL_TABS" >
2424 <Tab closable =" false" text =" 开始" >
25- <ScrollPane fitToWidth =" true" style =" -fx-border-width: 0 1 1 1;-fx-border-color: #CCCCCC;-fx-background:#FFFFFF " >
25+ <ScrollPane fitToWidth =" true" style =" -fx-border-width: 0 1 1 1;-fx-border-color: #CCCCCC;-fx-background:#2a2a2a " >
2626 <VBox >
2727 <padding >
2828 <Insets left =" 15" />
3131 <Label text =" 搜索:" />
3232 <TextField prefWidth =" 200" styleClass =" search-text" fx : id =" txtSearch" />
3333 <Pane HBox.hgrow=" ALWAYS" />
34+ <Hyperlink onAction =" #openProjectUrl" style =" -fx-text-fill: #868686"
35+ text =" https://gitee.com/xwintop/xJavaFxTool" />
3436 <Hyperlink onAction =" #openConfigDialog" text =" 设置" />
3537 <Hyperlink onAction =" #openPluginManager" text =" 插件管理" />
3638 </HBox >
You can’t perform that action at this time.
0 commit comments