Fixed title screen having whitespace on different screen resolutions.
- Title screen has no white space on edges - Main controller now anchors title to corners of main window #story[1087] #pair[fjc40, jam339]
This commit is contained in:
@@ -111,5 +111,10 @@ public class MainController extends Controller {
|
|||||||
AnchorPane.setBottomAnchor(finishController.finishWrapper, 0.0);
|
AnchorPane.setBottomAnchor(finishController.finishWrapper, 0.0);
|
||||||
AnchorPane.setLeftAnchor(finishController.finishWrapper, 0.0);
|
AnchorPane.setLeftAnchor(finishController.finishWrapper, 0.0);
|
||||||
AnchorPane.setRightAnchor(finishController.finishWrapper, 0.0);
|
AnchorPane.setRightAnchor(finishController.finishWrapper, 0.0);
|
||||||
|
|
||||||
|
AnchorPane.setTopAnchor(titleController.titleWrapper, 0.0);
|
||||||
|
AnchorPane.setBottomAnchor(titleController.titleWrapper, 0.0);
|
||||||
|
AnchorPane.setLeftAnchor(titleController.titleWrapper, 0.0);
|
||||||
|
AnchorPane.setRightAnchor(titleController.titleWrapper, 0.0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user