1
0
Fork 0

Update QRH formatting

This commit is contained in:
Jonathan Redpath 2021-10-31 22:34:52 +00:00
parent 4d2ff0a06a
commit 4fc0f0a66f
7 changed files with 3 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

BIN
Models/FlightDeck/QRH/1.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 194 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 166 KiB

BIN
Models/FlightDeck/QRH/2.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 895 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 69 KiB

BIN
Models/FlightDeck/QRH/3.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 382 KiB

View file

@ -37,7 +37,7 @@ var createCanvasQRH = func() {
qrhCanvas.setLayout(myHBox); qrhCanvas.setLayout(myHBox);
QRH = canvas.gui.widgets.Label.new(root, canvas.style, {} ) QRH = canvas.gui.widgets.Label.new(root, canvas.style, {} )
.setImage(resolvepath("Aircraft/A320-family/Models/FlightDeck/QRH/" ~ QRHpageNo.getValue() ~ ".jpeg")) .setImage(resolvepath("Aircraft/A320-family/Models/FlightDeck/QRH/" ~ QRHpageNo.getValue() ~ ".jpg"))
.move(0,-25) .move(0,-25)
.setSize(400,625); .setSize(400,625);
myHBox.addItem(QRH); myHBox.addItem(QRH);
@ -78,11 +78,11 @@ var createCanvasQRH = func() {
}); });
buttonPrev.listen("clicked", func { buttonPrev.listen("clicked", func {
prevPage(); prevPage();
QRH.setImage(resolvepath("Aircraft/A320-family/Models/FlightDeck/QRH/" ~ QRHpageNo.getValue() ~ ".jpeg")); QRH.setImage(resolvepath("Aircraft/A320-family/Models/FlightDeck/QRH/" ~ QRHpageNo.getValue() ~ ".jpg"));
}); });
buttonNext.listen("clicked", func { buttonNext.listen("clicked", func {
nextPage(); nextPage();
QRH.setImage(resolvepath("Aircraft/A320-family/Models/FlightDeck/QRH/" ~ QRHpageNo.getValue() ~ ".jpeg")); QRH.setImage(resolvepath("Aircraft/A320-family/Models/FlightDeck/QRH/" ~ QRHpageNo.getValue() ~ ".jpg"));
}); });