Hi All,
I wrote an App, running on Touch 2 very well. Recently, I test it on HD2 which has bigger screen. But the windows size never set what I want. Touch2 has 240x400, HD2 has 480x800
Simply, I have a TextBox on the screen. AutoScaleMode = Dpi. size is 239x292.
The horizontal size automatically match the 480. But the the vertical size never change.
I even tried to change the TextBox size to 239x500, but when it's running on HD2, still keep the very small one, like 292.
Could any body help how to make it fit the vertical 800?
Thanks a lot.
Have you set the Anchor (and perhaps Dock) properties?
Are you are hardcoding the size to specific numeric values (or just quoting runtime dimensions)? If you're quoting design-time dimensions then you should instead be using the Anchor (and perhaps Dock) property of the textbox so that the windows mobile operating system knows how to automatically resize it for you (relative to the textbox's surrounding container control). This will also help if the device switches between Portrait and Landscape which is something you have to account for. Also look into what the container control (e.g. the panel you have the textbox sitting on) is doing in terms of resizing. It sometimes helps to make its background colour distinct so that you can see how big it is on screen. Look at the anchor properties you have set for that too.
Have you set the Multiline property?
If, however, you've set the anchor and dock properties correctly, and it still doesn't resize vertically, then you've probably got the Multiline property of the textbox set to false.
Hope that helps.
Ian
Related
Hi,
This is very undocumented but obtained by disassembling. :roll:
This shows your appointments text in the week view of the Calendar.
[HKCU\Software\Microsoft\Calendar]
"showtextinweekview:=dword:00000001
Works for Windows CE4+.
Have fun,
Tweakradje
Thanks man,
Best used in landscape on my magician.
M
Can we see the screenshot :roll:
Victor
sorry no screenshot available
Sorry can't do, my magician won't attach files to the board. The tweak is harmless, so invest 2 minutes & see for yourself. In QVGA long app. don't show all text, but it's better than nothing.
M
Tried this in HKLM etc on my Universal (the Calendar section doesn't appear in HKCU). Didn't work.
Not in the Calendar HKCU on Wizard. Didn't work.
Riceburner said:
Tried this in HKLM etc on my Universal (the Calendar section doesn't appear in HKCU). Didn't work.
Click to expand...
Click to collapse
Key described in first post is correct. How about creating the key yourself ;O)
Works here... event needs to be long enough to fit the text, though
'll post screenshots after a reboot - ActiveSync's not connecting >_<
ZeBoxx said:
Works here... event needs to be long enough to fit the text, though
'll post screenshots after a reboot - ActiveSync's not connecting >_<
Click to expand...
Click to collapse
how did you get it to work. I do not have calendar in HKCU?
Just add it
If you're using PHM Regedit:
1. Go to HKCU\Software\Microsoft
2. In the bottom menu, choose Edit > New Key...
3. Set the name to "Calendar"
4. In the bottom menu, choose Edit > New DWORD Value
5. Set the name to "ShowTextInWeekView"
6. Set the value to 1
7. Click OK
If you're using TRE (Tascal Registry Editor):
1. Go to HKCU\Software\Microsoft
2. In the bottom menu, choose New > Key
3. Set the name to "Calendar"
4. In the bottom menu, choose New Dword
5. Set the name to "ShowTextInWeekView"
6. Double-tap this new entry
6. Set the value to 1
7. Click OK
Thanks for the fast reply. I got it working just now. This is great.
Is there also a way to show whole day activities in the weekview?
Thanks for that ZeBoxx - that's really useful. Why don't the devices come with these options enabled ?
While looking at this I opened HKLM\Software\Microsoft\Calendar\ShowLunarCalendar and altered the DWORD Data value to 1.
After a soft reset go to Calendar, Menu, View and 'Lunar' appears in the drop down. Check it and when you scroll through with the left soft button, there's an extra screen with a month view and D02 - D30 followed by M01 in Feb M02 in March etc. I thought this might be Lunar Phases - but doesn't seem to be. Any ideas ?
They probably disabled it because, let's face it, there's not a whole lot you can read in it unless: 1. your words are short and 2. the event is long enough in duration to show it all
They should have made the week view have a horizontal layout - or at least give that as an option. Then showing the text wouldn't have been any issue whatsoever, and it would be more in line with 'Week' pocket agendas (you know, the paper kind) as well. I have no idea what MS were thinking with the vertical :>
As for the Lunar calendar view - it's a Lunar calendar view.
http://en.wikipedia.org/wiki/Lunar_calendar
I don't know enough about it to know whether it corresponds with any of the religious lunar calendars, though. You can derive the lunar phase from the Dxx number, though. D01 is roughly 'new moon', D14/D15 is roughly 'full moon'.
If you're using TotalCommander:
1. Go to HKCU\Software\Microsoft
2. In the bottom menu, choose Edit > Mkdir...
3. Set the name to "Calendar"
4. Go to the new folder and choose "+Add value+"
5. Set the name to "ShowTextInWeekView"w"
6. Choose type "Dword"
7. Set the value to 1
8. Click OK
I think it very usefull with my Qtek9000 where i mostly see my calendar in landscape mode.
9000 of course is vga as well, and if it's running in true vga mode, should have 4 times the space to show the text
ZeBoxx
If you had the week view the other way you would still have an issue because the text wouldn't fit in the hour / half hour slots !
Anyway thanks for the info on Lunar Calendar. After a bit of research it appears D16 is Full Moon and D30 or M is new moon - maybe that's what the M prefix is for.
Cheers.
BTW I couldn't benefit from the true VGA mode - my eyes won't allow it !!!!
Sure, you're going to run into a limitation one way or another. However, text (in most languages) is left>right or right>left, and you should be able to get a better fit in a horizontal orientation. E.g. your half hour example, they don't necessarily have to be as narrow as they currently are in the vertical layout - you could make them wider, and it would easily fit more text. If you do the same in the vertical layout (make them taller), you're still running into having to chop words up to make words fit.
Either layout would work just fine if the implementation actually had boxes that overlap across days / hours respectively to fit the entire description/location, and only use a small strip to indicate the actual duration. This is actually easier in a vertical layout I'll try and whip up an example picture - attached. A problem that then occurs, of course, is with overlapping events - or events at a time that the new overlapping box would obscure. Never an easy solution
Is there a way to make this work with 2003 SE?
It works on my magician with 2K3 in QVGA, so i do miss a lot text. But it better than nothing.
Regards, M
It works on my magician with 2K3 in QVGA, so i do miss a lot text. But it better than nothing.
Regards, M
Ok I'm not quite good enough for this untaking but figured I'd put my findings out there.
There are 2 sets of registry setting that change the size of everything on your screen.
HKLM\Drivers\Display\GPE
HKLM\System\GWE\Display
Entries= LogicalPixelsX & LogicalPixelsY appear in both
Normally they are 96x96, I changed them to 120x120 (+25%) and now everything on my screen is 25% bigger. The Topber Icons are now 20x20 pixels instead of 16x16. Now you can make this what every % bigger you want, but the key is everything in the ROM must be scaled to this size. All images, everything or certain features may not load. For example I have WinMo G.S and because my CPR for the Start Menu is not scaled it will not load on screen. Here's a screen shot of what my screen looks like now.
total noob post that has nothing to do with the awesome tweak but, how do you change the taskbar icons? i did a quick search and got lost.
emmanemma said:
total noob post that has nothing to do with the awesome tweak but, how do you change the taskbar icons? i did a quick search and got lost.
Click to expand...
Click to collapse
Check these links for that...
http://forum.xda-developers.com/showthread.php?t=437307
http://forum.xda-developers.com/showthread.php?t=441829
http://forum.ppcgeeks.com/showthread.php?t=54514
Good job mate, I am sure it will really help someone with a weak sight. Good work.
drkfngthdragnlrd said:
Ok I'm not quite good enough for this untaking but figured I'd put my findings out there.
There are 2 sets of registry setting that change the size of everything on your screen.
HKLM\Drivers\Display\GPE
HKLM\System\GWE\Display
Entries= LogicalPixelsX & LogicalPixelsY appear in both
Normally they are 96x96, I changed them to 120x120 (+25%) and now everything on my screen is 25% bigger. The Topber Icons are now 20x20 pixels instead of 16x16. Now you can make this what every % bigger you want, but the key is everything in the ROM must be scaled to this size. All images, everything or certain features may not load. For example I have WinMo G.S and because my CPR for the Start Menu is not scaled it will not load on screen. Here's a screen shot of what my screen looks like now.
Click to expand...
Click to collapse
excellent work AGAIN my friend
Thanks this does help me i have bad arthritis in my hands and some days i cannot grip the stylus so this will come in handy thanks mate
All of the guides I've been seeing are tailored toward 192 pixel resolution instead of 96. I've been messing with changing the Start menu graphic, among others, and it would be nice to have an icon legend as a reference so that other users can know which icon to change. The numbers for the VGA ones aren't matching up with the QVGA ones.
biscuits1978 said:
All of the guides I've been seeing are tailored toward 192 pixel resolution instead of 96. I've been messing with changing the Start menu graphic, among others, and it would be nice to have an icon legend as a reference so that other users can know which icon to change. The numbers for the VGA ones aren't matching up with the QVGA ones.
Click to expand...
Click to collapse
I tried entering 192 in my tilt and the items became way too big. The start Menu Icon was off screen. Luckily I have a registry editor I can use from my pc to change it back otherwise I would have been hard reseting a lot.
Searched - nothing came up. So, the question is, is it possible to set the tab height somehow for default windows like Start -> Settings, where there are 3 tabs - Personal, System and Connections?
Thanks.
hmm.. first time i've stumbled into this issue.. i'll look it up
OK, thanks in advance!
Shouldn't have thanked You in advance... It's been like two weeks and even after I sent You a PM nothing has been going on. If You can't make it, please say so, it sucks to leave people waiting...
The tab height is controlled solely by the text within it. By default this is system font Tahoma 8pt. In .NET, there is no property or method to change the height of the tab, you can only change the type or size of font and the tabs will then be resized to accomodate it.
If the window uses the system font, in the case of Settings, it's a certainty, then the only way you would have any control over it is to change the system font. There are several articles here on xdadevs to tell you how, search Windows Mobile Change System Font, and pick one. The downside is, it will apply to everything, not just tabs, whether you want it to or not.
Thanks for the thorough reply! I guess I won't be changing the system font because of the other drawbacks...
Hi guys,
So I was hunting around to figure out what the wallpaper size is for the Nexus One... most people seem to state it is 960x800, or 2 times wider than the standard 480 resolution.
I did a test to see how it would look on the device by creating a 960x800 image with red vertical lines every 192 pixels (which will divide it horizontally 5 times to match with the 5 home screens on the N1). Much to my dismay, it actually renders it differently (showing almost 3 of the 192px blocks on the center screen).
When swiping back and forth, it seems like there is some sort of parallax scrolling going on. You can see a full screen of apps/widgets (480px wide) scroll to the side, but you will see the background move some other amount of pixels. It's almost as though the background is scaled in some fashion horizontally. I was assuming it would somehow work like the home screens on the N900, where each screen has 1 block of 800x480 wallpaper space...
Anyone have some insight into what is going on here?
technogecko6 said:
Hi guys,
So I was hunting around to figure out what the wallpaper size is for the Nexus One... most people seem to state it is 960x800, or 2 times wider than the standard 480 resolution.
I did a test to see how it would look on the device by creating a 960x800 image with red vertical lines every 192 pixels (which will divide it horizontally 5 times to match with the 5 home screens on the N1). Much to my dismay, it actually renders it differently (showing almost 3 of the 192px blocks on the center screen).
When swiping back and forth, it seems like there is some sort of parallax scrolling going on. You can see a full screen of apps/widgets (480px wide) scroll to the side, but you will see the background move some other amount of pixels. It's almost as though the background is scaled in some fashion horizontally. I was assuming it would somehow work like the home screens on the N900, where each screen has 1 block of 800x480 wallpaper space...
Anyone have some insight into what is going on here?
Click to expand...
Click to collapse
I'm not exactly sure what resolution the backgrounds are, but the "parallax scrolling" has been used in Android since the G1.
If you pick an off-sized background, the OS will tell you to crop it, and the height width ratio is almost square. Anyway, each panel of the home screen will share a bit of the background with the adjacent home screens.
Yup, each homscreens background overlaps with the ones on either side of it.
I believe the correct resolution for the N1 is 960x854
The resolution should be 960x800, because the Nexus is not the droid, it's 800 pixels not 854.
And for there to be 5 home screens on 960 wide, it's only going to scroll 1/5th of the image on each home screen. The parallax scrolling is a cool feature.
Of course it's going to show almost 3 of the 192px blocks on the center screen, because the center screen is 480px wide.
960x800 is correct. Additionally, you could've sorted this quickly by pulling the Launcher2.apk from /system/app, then extracting it and checking the size of the default wallpapers.
So here is another question. Does anyone think its possible to change the scrolling of the background (and size) such that it would be 1 480x800 size block PER home screen?
technogecko6 said:
So here is another question. Does anyone think its possible to change the scrolling of the background (and size) such that it would be 1 480x800 size block PER home screen?
Click to expand...
Click to collapse
When I had my g1 the Photoshop app would set wallpapers without asking for cropping even 480x800 so I would use iPhone wallpapers cause we allow know most Mac useres are have some skill in graphics design. Anywho when I tried to use this work around on my nexus it did not work, I'm looking further into this!
jmotyka said:
When I had my g1 the Photoshop app would set wallpapers without asking for cropping even 480x800 so I would use iPhone wallpapers cause we allow know most Mac useres are have some skill in graphics design. Anywho when I tried to use this work around on my nexus it did not work, I'm looking further into this!
Click to expand...
Click to collapse
Came across this. I want to disable scrolling on the background wallpaper too and have a static image. Any updates?
Wallpaper Set & Save is a basic free app from the market that works wonders with hi-res and off-sized images...
Me too
Also having issues with this
Only using one homescreen...and the settings either zooms or stretches the HOMEMADE wallpapers
djmcnz said:
Wallpaper Set & Save is a basic free app from the market that works wonders with hi-res and off-sized images...
Click to expand...
Click to collapse
Yes, you absolutely need this app if you want to change your wallpaper, the built-in gallery just doesn't work.
Wallpaper Set & Save
downloaded, tried...no luck
Yea, it didnt work for me either. I formated some images to 480x800, but it just zooms in on them. Cant believe something so damn simple is so tough.
Guys, I found a solution. It is called Wallpaper Plus. Yes it is $1.99, but it is worth it. Not only can you do 1 static image with no scrolling, it will also let you pick images and "sew them together such that each screen is a different image! So right now I have 5 pictures that I choose, that the program formatted for the size of my screen and stitched together. Now when I scroll through my screens, I see a different image on each one, rather than one large image. But like I said, it can do just one static image as well! I highly recommend. I know the cost sucks, but at some time we need to support these developers making the things we want for our phones if they are gonna stay on the platform and develop more things!
Well, I've got a LG GM750 (Layla) that happens to have a screen size close to the standard QVGA.
Sadly, 400x240 (landscape) doesn't seem to be a resolution that n0p's QVGA port of wargus likes.
The lower end of the screen appears on top and the rightmost part of the screen is blank.
Now this wouldn't be a big issue if not for the fact that "what you touch is not what you select".
I don't expect a working port, or that a fix exists somewhere, but if someone could tell me how to change the program's resolution to a custom one (as in my phone's resolution), that would be great.
I've got some knowledge of C++ and have taken a glance at SDL, so if I'll have to recompile the whole damn thing, no problem.
I just wouldn't like to be left in the dark.
Thanks in advance !