forked from orthlieb/widget_combobox
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
60 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
01/18/2013 orthlieb Version 1.0: Initial commit | ||
02/04/2013 orthlieb Version 1.1: Remove dependency on Alloy.Globals.mainWindow (evil) and use a parameter instead. Also support parent styling through .tss file. | ||
03/25/2013 orthlieb Version 2.0: You can now style the dropButton on the combobox via the parent tss file. Passing in choices and the selected id is no longer supported at init() time, you need to do this explicitly in your code. Styling the combobox is no longer supported at init() time, you need to do this explicitly in the parent .tss file. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,18 @@ | ||
"#dropbutton[platform=ios]": { | ||
right : 0, | ||
bottom : 0, | ||
"#container[platform=ios]": { | ||
width: Ti.UI.SIZE, | ||
height: Ti.UI.SIZE | ||
}, | ||
|
||
"#field[platform=ios]": { | ||
left: 0, | ||
center: { y: "50%" }, | ||
width: Ti.UI.FILL | ||
}, | ||
|
||
"#dropButton[platform=ios]": { | ||
right: 0, | ||
width : Ti.UI.SIZE, | ||
height : Ti.UI.SIZE, | ||
style : Ti.UI.iPhone.SystemButton.DISCLOSURE | ||
title: '\u25BC', | ||
backgroundColor: 'transparent' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
<Alloy> | ||
<TextField platform="ios" id="field" onClick="ComboBoxClick"/> | ||
<Button platform="ios" id="dropbutton" onClick="ComboBoxClick"/> | ||
<View id="container" platform="ios"> | ||
<TextField id="field" onClick="ComboBoxClick"/> | ||
<Button id="dropButton" onClick="ComboBoxClick"/> | ||
</View> | ||
<View platform="android,mobileweb" id="field"/> | ||
</Alloy> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters