Commit d218b56 1 parent 08abe45 commit d218b56 Copy full SHA for d218b56
File tree 1 file changed +3
-2
lines changed
desktop/src/main/java/haveno/desktop/main/portfolio/pendingtrades
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 80
80
import javafx .scene .input .KeyEvent ;
81
81
import javafx .scene .layout .AnchorPane ;
82
82
import javafx .scene .layout .HBox ;
83
+ import javafx .scene .layout .Priority ;
83
84
import javafx .scene .layout .StackPane ;
84
85
import javafx .scene .layout .VBox ;
85
86
import javafx .scene .text .Text ;
@@ -298,12 +299,12 @@ protected void activate() {
298
299
if (selectedItem .getTrade () != null ) {
299
300
selectedSubView = model .dataModel .tradeManager .isBuyer (model .dataModel .getOffer ()) ?
300
301
new BuyerSubView (model ) : new SellerSubView (model );
302
+ selectedSubView .setMinHeight (460 );
301
303
subViewScroll = new ScrollPane ();
302
304
subViewScroll .setVbarPolicy (ScrollPane .ScrollBarPolicy .AS_NEEDED );
303
305
subViewScroll .setContent (selectedSubView );
304
306
305
- //selectedSubView.setMinHeight(460);
306
- //VBox.setVgrow(selectedSubView, Priority.ALWAYS);
307
+ VBox .setVgrow (subViewScroll , Priority .ALWAYS );
307
308
if (root .getChildren ().size () == 2 )
308
309
root .getChildren ().add (subViewScroll );
309
310
else if (root .getChildren ().size () == 3 )
You can’t perform that action at this time.
0 commit comments