root/platform/flex/SpeedCubeTimer/trunk/SpeedCubeTimer.mxml @ 3157

Revision 3157, 1.0 kB (checked in by xcezx, 6 years ago)
  • platform/flex/SpeedCubeTimer/trunk/SpeedCubeTimes.{as,mxml,swf}: スクランブル手順の文字サイズ変更と、 Label -> TextInput? への変更。
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<mx:Application
3   xmlns:mx="http://www.adobe.com/2006/mxml"
4   backgroundColor="white"
5   layout="vertical"
6   verticalAlign="middle"
7   creationComplete="init()"
8>
9
10  <mx:Style>
11    Button { fontSize: 12pt; fontFamily: "Trebuchet MS"; }
12    Label { fontSize: 96pt; fontFamily: "Trebuchet MS"; }
13    Alert { fontSize: 14pt; fontFamily: "Trebuchet MS"; }
14    TextInput { borderStyle: none; backgroundColor: transparent; }
15    .caption { fontSize: 12pt; }
16  </mx:Style>
17
18  <mx:Script source="SpeedCubeTimer.as" />
19
20  <mx:ApplicationControlBar dock="true">
21    <mx:Button id="timerButton" label="Start &amp; Stop" click="toggleTimer();" />
22    <mx:Button id="resetButton" label="Reset" click="resetTimer();" />
23    <mx:Button id="scrambleButton" label="Scramble Cube" click="scrambleCube();" />
24    <mx:Button id="aboutButton" label="About" click="showAbout();" />
25  </mx:ApplicationControlBar>
26
27  <mx:Label id="counter" />
28  <mx:TextInput id="scramble" styleName="caption" editable="false" />
29
30</mx:Application>
Note: See TracBrowser for help on using the browser.