profile card: remove description

This commit is contained in:
Moritz Zwerger 2023-11-21 18:30:59 +01:00
parent fd17575bf2
commit ad3d052d31
No known key found for this signature in database
GPG Key ID: 5CAD791931B09AC4
3 changed files with 7 additions and 25 deletions

View File

@ -3,7 +3,7 @@
<!--
~ Minosoft
~ Copyright (C) 2020-2022 Moritz Zwerger
~ Copyright (C) 2020-2023 Moritz Zwerger
~
~ This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
~
@ -15,7 +15,9 @@
-->
<?import javafx.geometry.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.ComboBox?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.*?>
<?import javafx.scene.text.*?>
<HBox xmlns:fx="http://javafx.com/fxml/1" fx:id="root" prefHeight="200.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/16">
@ -53,7 +55,6 @@
<rowConstraints>
<RowConstraints valignment="CENTER" vgrow="NEVER"/>
<RowConstraints valignment="CENTER" vgrow="NEVER"/>
<RowConstraints valignment="CENTER" vgrow="NEVER"/>
</rowConstraints>
<TextFlow fx:id="typeLabelFX">
@ -79,18 +80,6 @@
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0"/>
</GridPane.margin>
</TextField>
<TextFlow fx:id="descriptionLabelFX" GridPane.rowIndex="2">
<GridPane.margin>
<Insets bottom="5.0" left="5.0" right="30.0" top="5.0"/>
</GridPane.margin>
<Text text="Name"/>
</TextFlow>
<TextField fx:id="descriptionFieldFX" promptText="Description" GridPane.rowIndex="2" GridPane.columnIndex="1">
<GridPane.margin>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0"/>
</GridPane.margin>
</TextField>
</GridPane>
<GridPane GridPane.rowIndex="4">
<columnConstraints>

View File

@ -2,7 +2,7 @@
<!--
~ Minosoft
~ Copyright (C) 2020-2022 Moritz Zwerger
~ Copyright (C) 2020-2023 Moritz Zwerger
~
~ This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
~
@ -39,7 +39,7 @@
<TableView fx:id="profilesFX" editable="true" GridPane.hgrow="ALWAYS" GridPane.rowIndex="1">
<columns>
<TableColumn fx:id="typeColumnFX" minWidth="220.0" prefWidth="220.0" sortable="false" reorderable="false" text="Type"/>
<TableColumn fx:id="profileColumnFX" maxWidth="1.7976931348623157E308" minWidth="-1.0" prefWidth="-1.0" sortable="false" reorderable="false" text="Profile"/>
<TableColumn fx:id="profileColumnFX" maxWidth="Infinity" minWidth="-1.0" prefWidth="-1.0" sortable="false" reorderable="false" text="Profile"/>
</columns>
<GridPane.margin>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0"/>

View File

@ -2,7 +2,7 @@
<!--
~ Minosoft
~ Copyright (C) 2020-2022 Moritz Zwerger
~ Copyright (C) 2020-2023 Moritz Zwerger
~
~ This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
~
@ -28,15 +28,8 @@
</GridPane.margin>
<Text text="Profile name"/>
</TextFlow>
<TextFlow fx:id="profileDescriptionFX" GridPane.rowIndex="1">
<GridPane.margin>
<Insets bottom="5.0" left="10.0" right="5.0" top="5.0"/>
</GridPane.margin>
<Text text="This is a long description of your dummy profile..."/>
</TextFlow>
<rowConstraints>
<RowConstraints/>
<RowConstraints/>
</rowConstraints>
</GridPane>
</HBox>