[bisq-network/bisq] Adjust in DAO views with redesign (#1847)

Christoph Atteneder notifications at github.com
Wed Oct 31 08:35:55 UTC 2018


ripcurlx approved this pull request.

utACK

>          GridPane.setMargin(txIdTextField, new Insets(top, 0, 0, 0));
         gridPane.getChildren().add(txIdTextField);
 
         return new Tuple2<>(label, txIdTextField);
     }
 
 
+    public static Tuple3<Label, TxIdTextField, VBox> addTopLabelTxIdTextField(GridPane gridPane, int rowIndex, String title, double top) {
+        TxIdTextField textField = new TxIdTextField();
+        textField.setFocusTraversable(false);
+
+        final Tuple2<Label, VBox> topLabelWithVBox = addTopLabelWithVBox(gridPane, rowIndex, title, textField, top);
+
+        // TOD not 100% sure if that is a good idea....
+        //topLabelWithVBox.first.getStyleClass().add("jfx-text-field-top-label");

I'll look into this at a later point, when the most critical parts are finished, as it should be a fix once work everywhere.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/1847#pullrequestreview-170137048
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20181031/741be923/attachment.html>


More information about the bisq-github mailing list