create offer inputs are rounded

This commit is contained in:
woodser 2025-04-30 20:34:09 -04:00
parent 396bf60f36
commit cdf82e7ad2
No known key found for this signature in database
GPG key ID: 55A10DD48ADEE5EF
2 changed files with 15 additions and 6 deletions

View file

@ -381,25 +381,32 @@ tree-table-view:focused {
.input-with-border {
-fx-background-color: -bs-background-color;
-fx-border-width: 1;
-fx-border-color: -bs-background-gray;
-fx-border-radius: 3;
-fx-pref-height: 43;
-fx-pref-width: 310;
-fx-effect: innershadow(gaussian, -bs-text-color-transparent, 3, 0, 0, 1);
-fx-effect: innershadow(gaussian, -bs-text-color-transparent, 3, 0, 0, 0);
-fx-background-radius: 999;
-fx-border-radius: 999;
-fx-alignment: center;
}
.input-with-border .text-field {
-fx-alignment: center-right;
-fx-pref-height: 43;
-fx-pref-height: 44;
-fx-font-size: 1.385em;
-fx-background-radius: 999 0 0 999;
-fx-border-radius: 999 0 0 999;
-fx-background-color: -bs-background-color;
}
.input-with-border > .input-label {
-fx-font-size: 0.692em;
-fx-min-width: 60;
-fx-padding: 16;
-fx-min-width: 45;
-fx-padding: 8;
-fx-alignment: center;
-fx-background-radius: 999;
-fx-border-radius: 999;
-fx-background-color: derive(-bs-background-color, 15%);
}
.input-with-border .icon {

View file

@ -2181,6 +2181,7 @@ public class FormBuilder {
Label label = new AutoTooltipLabel(Res.getBaseCurrencyCode());
label.getStyleClass().add("input-label");
HBox.setMargin(label, new Insets(0, 8, 0, 0));
HBox box = new HBox();
HBox.setHgrow(input, Priority.ALWAYS);
@ -2197,6 +2198,7 @@ public class FormBuilder {
Label label = new AutoTooltipLabel(Res.getBaseCurrencyCode());
label.getStyleClass().add("input-label");
HBox.setMargin(label, new Insets(0, 8, 0, 0));
HBox box = new HBox();
HBox.setHgrow(infoInputTextField, Priority.ALWAYS);