// OT-MMO: ventana de una misión (ofrecer, progreso o entregar). Estilos en estilos.otui. MainWindow id: ventanaMision size: 440 532 text: Misión @onEscape: modules.game_misiones.cerrarVentana() GameTextSmall id: meta anchors.top: parent.top anchors.left: parent.left GameTitle id: nombre anchors.top: meta.bottom anchors.left: parent.left anchors.right: parent.right margin-top: 4 height: 22 text-auto-resize: false ttf-font-size: $otmmo-size-xl UIWidget id: raya anchors.top: nombre.bottom anchors.left: parent.left anchors.right: parent.right margin-top: 8 height: 1 background-color: $otmmo-border phantom: true GameParagraph id: texto anchors.top: raya.bottom anchors.left: parent.left anchors.right: parent.right margin-top: 12 margin-right: 8 color: $otmmo-text GameSection id: tObjetivos anchors.top: texto.bottom anchors.left: parent.left margin-top: 16 text: Objetivos Panel id: objetivos anchors.top: tObjetivos.bottom anchors.left: parent.left anchors.right: parent.right margin-top: 4 layout: type: verticalBox fit-children: true GameSection id: tRecompensa anchors.top: objetivos.bottom anchors.left: parent.left margin-top: 16 text: Recompensa GameText id: exp anchors.top: tRecompensa.bottom anchors.left: parent.left margin-top: 4 Panel id: premios anchors.top: exp.bottom anchors.left: parent.left anchors.right: parent.right margin-top: 8 layout: type: verticalBox spacing: 4 fit-children: true PrimaryButton id: principal anchors.bottom: parent.bottom anchors.right: parent.right size: 120 24 @onClick: modules.game_misiones.principal() Button id: secundario anchors.bottom: parent.bottom anchors.right: principal.left margin-right: 8 size: 88 24 @onClick: modules.game_misiones.cerrarVentana()