remove balance in joinstr ui

This commit is contained in:
/dev/fd0 2025-05-22 00:21:15 +05:30
parent 1f381a39c6
commit d7655924ea

View file

@ -11,53 +11,35 @@
<BorderPane stylesheets="@joinstr.css, @../wallet/wallet.css" xmlns="http://javafx.com/javafx" xmlns:fx="http://javafx.com/fxml" fx:controller="com.sparrowwallet.sparrow.joinstr.JoinstrController" <BorderPane stylesheets="@joinstr.css, @../wallet/wallet.css" xmlns="http://javafx.com/javafx" xmlns:fx="http://javafx.com/fxml" fx:controller="com.sparrowwallet.sparrow.joinstr.JoinstrController"
maxHeight="-Infinity" maxWidth="-Infinity" prefHeight="770.0" prefWidth="1070.0"> maxHeight="-Infinity" maxWidth="-Infinity" prefHeight="770.0" prefWidth="1070.0">
<left> <left>
<VBox fx:id="joinstrMenuBox" styleClass="list-menu"> <VBox fx:id="joinstrMenuBox" styleClass="list-menu">
<Pane styleClass="spacerV50" /> <Pane styleClass="spacerV50" />
<ToggleButton VBox.vgrow="ALWAYS" text="New pool" contentDisplay="CENTER" styleClass="list-item" maxHeight="Infinity"> <ToggleButton VBox.vgrow="ALWAYS" text="New pool" contentDisplay="CENTER" styleClass="list-item" maxHeight="Infinity">
<toggleGroup> <toggleGroup>
<ToggleGroup fx:id="joinstrMenu" /> <ToggleGroup fx:id="joinstrMenu" />
</toggleGroup> </toggleGroup>
<userData> <userData>
<JoinstrDisplay fx:constant="NEW_POOL"/> <JoinstrDisplay fx:constant="NEW_POOL"/>
</userData> </userData>
</ToggleButton> </ToggleButton>
<ToggleButton VBox.vgrow="ALWAYS" text="My Pools" contentDisplay="CENTER" styleClass="list-item" maxHeight="Infinity" toggleGroup="$joinstrMenu"> <ToggleButton VBox.vgrow="ALWAYS" text="My Pools" contentDisplay="CENTER" styleClass="list-item" maxHeight="Infinity" toggleGroup="$joinstrMenu">
<userData> <userData>
<JoinstrDisplay fx:constant="MY_POOLS"/> <JoinstrDisplay fx:constant="MY_POOLS"/>
</userData> </userData>
</ToggleButton> </ToggleButton>
<ToggleButton VBox.vgrow="ALWAYS" text="Other pools" contentDisplay="CENTER" styleClass="list-item" maxHeight="Infinity" toggleGroup="$joinstrMenu"> <ToggleButton VBox.vgrow="ALWAYS" text="Other pools" contentDisplay="CENTER" styleClass="list-item" maxHeight="Infinity" toggleGroup="$joinstrMenu">
<userData> <userData>
<JoinstrDisplay fx:constant="OTHER_POOLS"/> <JoinstrDisplay fx:constant="OTHER_POOLS"/>
</userData> </userData>
</ToggleButton> </ToggleButton>
<ToggleButton VBox.vgrow="ALWAYS" text="History" contentDisplay="CENTER" styleClass="list-item" maxHeight="Infinity" toggleGroup="$joinstrMenu"> <ToggleButton VBox.vgrow="ALWAYS" text="History" contentDisplay="CENTER" styleClass="list-item" maxHeight="Infinity" toggleGroup="$joinstrMenu">
<userData> <userData>
<JoinstrDisplay fx:constant="HISTORY"/> <JoinstrDisplay fx:constant="HISTORY"/>
</userData> </userData>
</ToggleButton> </ToggleButton>
<VBox> </VBox>
<Pane styleClass="spacerV25" />
<HBox>
<VBox maxWidth="Infinity" HBox.hgrow="ALWAYS" styleClass="joinstr-balance-container">
<Label fx:id="joinstrBalanceTitle" styleClass="joinstr-balance-label">
Current balance:
</Label>
<Label fx:id="joinstrBalanceValue" styleClass="joinstr-balance-label">
0.00000001
<graphic>
<Glyph fontFamily="FontAwesome" icon="BTC" fontSize="20" />
</graphic>
</Label>
</VBox>
</HBox>
<Pane styleClass="spacerV25" />
</VBox>
</VBox>
</left> </left>
<center> <center>
<StackPane fx:id="joinstrPane" styleClass="joinstr-pane"> <StackPane fx:id="joinstrPane" styleClass="joinstr-pane">
</StackPane> </StackPane>
</center> </center>
</BorderPane> </BorderPane>