Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
Thread: Creating Themes With Dreamboard
is a discussion within theiPhone 4|4S New Skins / Themes Launches
forums, a part of theNew Skins / Themes Launches
section;Originally Posted by kuanyu Use text editor. But then the code isn't colorful
...-
11-07-2011, 04:07 PM #1961My iPhone is a Part of Me
- Join Date
- Feb 2011
- Location
- Sacramento, California
- Posts
- 511
- Thanks
- 32
- Thanked 49 Times in 44 Posts
-
11-07-2011, 04:26 PM #1962Delirious
- Join Date
- Feb 2011
- Location
- New Zealand
- Posts
- 620
- Thanks
- 125
- Thanked 1,250 Times in 186 Posts
-
11-07-2011, 07:08 PM #1963My iPhone is a Part of Me
- Join Date
- Feb 2011
- Location
- Sacramento, California
- Posts
- 511
- Thanks
- 32
- Thanked 49 Times in 44 Posts
-
11-07-2011, 07:48 PM #1964My iPhone is a Part of Me
- Join Date
- Aug 2009
- Location
- Stuck in Ohio
- Posts
- 514
- Thanks
- 138
- Thanked 185 Times in 116 Posts
-
11-07-2011, 09:09 PM #1965My iPhone is a Part of Me
- Join Date
- Feb 2011
- Location
- Sacramento, California
- Posts
- 511
- Thanks
- 32
- Thanked 49 Times in 44 Posts
-
11-07-2011, 09:53 PM #1966Delirious
- Join Date
- Feb 2011
- Location
- New Zealand
- Posts
- 620
- Thanks
- 125
- Thanked 1,250 Times in 186 Posts
Something simple, like
log get.views.ScrollView.contentOffsetX
then a button
views.ScrollView.contentOffsetX = (something)
It is this (something) that I dont know what to put exactly. But, if I put
views.ScrollView.contentOffsetX = log.views.ScrollView.contentOffsetX
it just sets the views.ScrollView.contentOffsetX to 0
-
11-07-2011, 10:30 PM #1967My iPhone is a Part of Me
- Join Date
- Aug 2009
- Location
- Stuck in Ohio
- Posts
- 514
- Thanks
- 138
- Thanked 185 Times in 116 Posts
Try using vars instead of log
-
11-08-2011, 12:02 PM #1968Dreamboard Porter/Themer/Coder
- Join Date
- Jan 2011
- Location
- var/Library/Dreamboard
- Posts
- 1,245
- Thanks
- 895
- Thanked 667 Times in 417 Posts
I gots me a question and i need u geniuses to answer it. How do i have a button, change the zip code of all the widgets in your theme? I have lik 6 widgets in my theme. Each one has a preset location. So instead of people going into the .js or w/e to change the zip code i want a button to do it for all of them. I kno i have to go into the widgets and edit something. but idk what. Can anyone help me? What would be the coding for that button?
-
11-08-2011, 03:50 PM #1969Delirious
- Join Date
- Feb 2011
- Location
- New Zealand
- Posts
- 620
- Thanks
- 125
- Thanked 1,250 Times in 186 Posts
-
11-08-2011, 04:46 PM #1970Dreamboard Porter/Themer/Coder
- Join Date
- Jan 2011
- Location
- var/Library/Dreamboard
- Posts
- 1,245
- Thanks
- 895
- Thanked 667 Times in 417 Posts
-
11-08-2011, 05:33 PM #1971My iPhone is a Part of Me
- Join Date
- Feb 2011
- Location
- Sacramento, California
- Posts
- 511
- Thanks
- 32
- Thanked 49 Times in 44 Posts
-
The Following User Says Thank You to Mr. Russian For This Useful Post:
FrightDealer (11-08-2011)
-
11-08-2011, 05:57 PM #1972Dreamboard Porter/Themer/Coder
- Join Date
- Jan 2011
- Location
- var/Library/Dreamboard
- Posts
- 1,245
- Thanks
- 895
- Thanked 667 Times in 417 Posts
Yea, once i get it working, i shall let u beta test it. Also, i am having a little issue, where the dam images won't show up in the view. Let me paste the coding. They are just images set as button, it worked for wallpaper but not for dam Widget.
Code:<key>WidgetGrid</key> <dict> <key>Frame</key> <string>0,0,320,480</string> <key>Subviews</key> <array> <dict> <key>ClipToBounds</key> <true/> <key>Frame</key> <string>6,34,308,380</string> <key>ContentHeight</key> <integer>380</integer> <key>ContentWidth</key> <integer>616</integer> <key>ViewType</key> <string>ScrollView</string> <key>Paging</key> <true/> <key>ScrollingEnabled</key> <true/> <key>Subviews</key> <array> <dict> <key>Actions</key> <array> <string>vars.widget = 1</string> <string>function ChangeWidget</string> </array> <key>Frame</key> <string>22,1,118,177</string> <key>Image</key> <string>$ROOT/Wallpapers/Thumbs/SBSlideShow.png</string> <key>ViewType</key> <string>Button</string> </dict> <dict> <key>Actions</key> <array> <string>vars.widget = 2</string> <string>function ChangeWidget</string> </array> <key>Frame</key> <string>168,1,118,177</string> <key>Image</key> <string>$ROOT/Wallpapers/Thumbs/PumpSB.png</string> <key>ViewType</key> <string>Button</string> </dict> <dict> <key>Actions</key> <array> <string>vars.widget = 3</string> <string>function ChangeWidget</string> </array> <key>Frame</key> <string>22,190,118,177</string> <key>Image</key> <string>$ROOT/Wallpapers/Thumbs/PlanetScene.png</string> <key>ViewType</key> <string>Button</string> </dict> <dict> <key>Actions</key> <array> <string>vars.widget = 4</string> <string>function ChangeWidget</string> </array> <key>Frame</key> <string>168,190,118,177</string> <key>Image</key> <string>$ROOT/Wallpapers/Thumbs/HMMod.png</string> <key>ViewType</key> <string>Button</string> </dict> <dict> <key>Actions</key> <array> <string>vars.widget = 5</string> <string>function ChangeWidget</string> </array> <key>Frame</key> <string>330,1,118,177</string> <key>Image</key> <string>$ROOT/Wallpapers/Thumbs/DarkstarHTC.png</string> <key>ViewType</key> <string>Button</string> </dict> </array> </dict> <dict> <key>Actions</key> <array> <string>vars.widgrid = 0</string> <string>vars.Nav = 6</string> <string>function Foldering</string> </array> <key>Frame</key> <string>6,420,308,60</string> <key>Image</key> <string>$ROOT/Images/Settings/close.png</string> <key>ViewType</key> <string>Button</string> </dict> <dict> <key>Frame</key> <string>0,0,320,480</string> <key>ViewType</key> <string>ImageView</string> <key>Image</key> <string>$ROOT/Images/ExtraFolder.png</string> </dict> </array> <key>ViewType</key> <string>View</string> <key>id</key> <string>WidgetGrid</string> </dict>
-
11-08-2011, 06:00 PM #1973My iPhone is a Part of Me
- Join Date
- Aug 2009
- Location
- Stuck in Ohio
- Posts
- 514
- Thanks
- 138
- Thanked 185 Times in 116 Posts
-
11-08-2011, 06:20 PM #1974Dreamboard Porter/Themer/Coder
- Join Date
- Jan 2011
- Location
- var/Library/Dreamboard
- Posts
- 1,245
- Thanks
- 895
- Thanked 667 Times in 417 Posts
-
11-08-2011, 11:24 PM #1975Delirious
- Join Date
- Feb 2011
- Location
- New Zealand
- Posts
- 620
- Thanks
- 125
- Thanked 1,250 Times in 186 Posts
I'm sorry, you didn't get my point... I was trying to figure a use for log, other than for developers to place views pixel-perfect. (Such as creating a Scrollview, create a button that logs the contentoffset, then move, log, move, log...) Currently the way that it works isn't even useful for Html, so I don't find any real purpose. I trying to figure if it had any other function
Btw, I figured out how to place Badges anywhere you like, If you guys want to know, just ask.
-
11-09-2011, 05:52 AM #1976Dreamboard Porter/Themer/Coder
- Join Date
- Jan 2011
- Location
- var/Library/Dreamboard
- Posts
- 1,245
- Thanks
- 895
- Thanked 667 Times in 417 Posts
-
11-09-2011, 07:53 AM #1977My iPhone is a Part of Me
- Join Date
- Feb 2011
- Location
- Sacramento, California
- Posts
- 511
- Thanks
- 32
- Thanked 49 Times in 44 Posts
-
11-09-2011, 10:50 AM #1978Dreamboard Porter/Themer/Coder
- Join Date
- Jan 2011
- Location
- var/Library/Dreamboard
- Posts
- 1,245
- Thanks
- 895
- Thanked 667 Times in 417 Posts
-
11-09-2011, 02:31 PM #1979Delirious
- Join Date
- Feb 2011
- Location
- New Zealand
- Posts
- 620
- Thanks
- 125
- Thanked 1,250 Times in 186 Posts
I wish it were that easy,
First you make an AppIcon View
Then you have to increase the frame width if you want to move the badge to the left, or decrease the width to move it to the right.
Then the same with the height, increase the fame height to move it up, and decrease to move it down.
Now, you have to adjust the x and y positions to counter the shift in position in the icon.
I'm gonna try this with an appgrid.
-
The Following User Says Thank You to kooris For This Useful Post:
FrightDealer (11-09-2011)
-
11-09-2011, 04:16 PM #1980My iPhone is a Part of Me
- Join Date
- Feb 2011
- Location
- Sacramento, California
- Posts
- 511
- Thanks
- 32
- Thanked 49 Times in 44 Posts




LinkBack URL
About LinkBacks
Reply With Quote


but check the image strings and make sure they are right but thats all i got
