增加主页刷新通知打开的tab页强制刷新功能

This commit is contained in:
liwen
2020-12-02 17:12:54 +08:00
parent 1fbebd387a
commit 88ae95e1ab
6 changed files with 49 additions and 22 deletions

View File

@@ -8,14 +8,13 @@
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?>
<?import com.jfoenix.controls.JFXButton?>
<VBox fx:id="userInfoPane" prefHeight="281.0" prefWidth="262.0" xmlns="http://javafx.com/javafx/8.0.171" xmlns:fx="http://javafx.com/fxml/1">
<children>
<VBox alignment="TOP_CENTER" spacing="10.0" VBox.vgrow="ALWAYS">
<children>
<Label fx:id="imageLabel" alignment="CENTER" contentDisplay="CENTER" graphicTextGap="0.0" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="80.0" prefWidth="80.0" style="-fx-background-radius: 40; -fx-background-color: #ab47bc;" textAlignment="CENTER">
<graphic>
<FontAwesomeIconView fill="WHITE" glyphName="USER" size="65" />
<FontAwesomeIconView fill="WHITE" glyphName="USER" size="55" />
</graphic>
</Label>
<Label fx:id="userLabel" text="李稳" textFill="#202124">
@@ -34,12 +33,12 @@
</padding>
</VBox>
<JFXListView fx:id="listView" depth="1" styleClass="user-info-listview">
<HBox>
<JFXListView fx:id="listView" depth="1" maxHeight="-Infinity" minHeight="90.0" prefHeight="90.0" styleClass="user-info-listview">
<HBox alignment="CENTER_LEFT">
<Label fx:id="personalCenterLabel" maxWidth="1.7976931348623157E308" text="个人中心" HBox.hgrow="ALWAYS" />
<FontAwesomeIconView fill="#5f6368" glyphName="USER_SECRET" size="20" />
</HBox>
<HBox>
<HBox alignment="CENTER_LEFT">
<Label fx:id="dropOutLabel" maxWidth="1.7976931348623157E308" text="退出" HBox.hgrow="ALWAYS" />
<FontAwesomeIconView fill="#5f6368" glyphName="SIGN_OUT" size="20" />
</HBox>