Incorrect left/right text alignment - Zooper Widget General

A right aligned time #DH.mm# module shifts itself several pixels right if the last (and only last) digit in it is "1". This behavior does not depend on fonts (even monospaced ones!). It seems that the widget aligns the text using the actual edge of the "1" glyph, but not its box (all boxes for number glyphs have identical widths). This bug does not occur in other similar widgets (UCCW, Make Your Clock) with the same font.
The same bug is present with left alignment (when the first digit is "1"), but it is less prominent.

Related

Registry entry for changing scroll bar size.

Can someone point me to the info regarding the registry entry for making the scroll bars thinner. I have looked every where and searched for scroll bars.. cant find it.
got it.
had to sneak over to the q forum.
here it is.
1. Making the scrollbars smaller (Vert. and Horz.)
This hack allows 4 icons on a row in the start menu instead of 3 and allows more to be viewed on the screen in IE:
• Go to: HKey_LOCAL_MACHINE\SYSTEM\GWE\
• Adjust the following values
cyHScr : Horizontal Scrollbars
Height in pixels (default is 6, set it to 3)
cxVScr : Vertical Scrollbars
Width in pixels (default is 6, set it to 3)
• Soft-reset
Its mostly nicer for web browsing.
also this asks for you to create them, they are allready created.
Bump for a good change that I felt was missing from the new roms. Thought others would appreciate it.

MIDlet Item Layout problem with jbed.exe

Hi,
I am developing a MIDlet (MIDP 2.0/CLDC1.1) using LAYOUT_2 features (multiple entry fields per line), working on Eclipse with a SE K750i emulation. The app runs perfectly on the emulation, and without crashes on the X1 with WM 6.5 under jbed.exe from 4.2009. However, I could not solve yet four major problems which are present under jbed only:
- In a form, each TextField occupies a full line. LAYOUT_2 settings are ignored, as well as Item.setPreferredSize. getMinimumWidth results uniformly in 100 pixels regardles of the fixed number of chars of the TextField.
- TextFields with wrapped lines are displayed in one line as well, only the last line of the content is visible. Item.setPreferredSize has no effect as well.
- TextFields with PASSWORD option do not hide the entered chars, and getting the string from the field does not work correctly.
- this.getProperty() returns NULL values only.
Any ideas what might be the cause, and are work arounds known?

[Q] Need help restricting text length, Margins in Rich Text aren't working

Firstly, I *love* ZWP and have been using it religiously.
With my new Nexus 5, however, I decided to make a new widget to match the current phone instead of my previous setup. I like having my next 3-4 calendar appointments shown in a list with dates and times and the heading, in the #C0SEEE dd - HH:mm# #C0TITLE# format. Some appointments though have longer titles and interfere with other items I have entered into the widget.
I tried using the new Rich Text feature and setting margins to various lengths and setting lines to 1, but a long appointment title still bleeds over into the next portion of my layout.
What am I missing?
Zanthany said:
Firstly, I *love* ZWP and have been using it religiously.
With my new Nexus 5, however, I decided to make a new widget to match the current phone instead of my previous setup. I like having my next 3-4 calendar appointments shown in a list with dates and times and the heading, in the #C0SEEE dd - HH:mm# #C0TITLE# format. Some appointments though have longer titles and interfere with other items I have entered into the widget.
I tried using the new Rich Text feature and setting margins to various lengths and setting lines to 1, but a long appointment title still bleeds over into the next portion of my layout.
What am I missing?
Click to expand...
Click to collapse
You should consider using the [tr]-tags to limit your field to a certain amount of characters. Usage example in your case would be
Code:
#C0SEEE dd - HH:mm# [tr=30]#C0TITLE#[/tr]
This would limit the output of the title to 30 characters and put three dots at the end to indicate the string is longer than what is displayed. You'll have to play around a bit to find the right limit for your particular setup though.
For future references, you can find all the available tags for Rich Text Modules here.
Hope this helps you out

Zooper widget, Y offset lock

Hello, guys, I'm playing around with this great tool but have some issues.
As you can see in attachment files, my I have a date module added to my widget, the text is aligned to the left side, but sometimes when in the name of the day (sunday, wednesday) there are more letter then previous the alignment of text is offset to the right.
Can you please tell me how to lock the position of the text, I want it to be locked on the left corner and if the chars in text is more or text is longer it can be offset to right side, not left. Sorry for my english
0rtli said:
Hello, guys, I'm playing around with this great tool but have some issues.
As you can see in attachment files, my I have a date module added to my widget, the text is aligned to the left side, but sometimes when in the name of the day (sunday, wednesday) there are more letter then previous the alignment of text is offset to the right.
Can you please tell me how to lock the position of the text, I want it to be locked on the left corner and if the chars in text is more or text is longer it can be offset to right side, not left. Sorry for my english
Click to expand...
Click to collapse
Set the Text Alignment option of the (Rich) Text module from Default to Left. You need to reposition the widget after that but the content of the module will now stick to the left side and grow to the right.
Hope this helps you out

Append variable width bitmaps dynamically so that resultant bitmap row is centered

I'm pretty sure what I'm trying to do is impossible with Zooper — I've experimented and searched massively — but maybe some wiz actually will know a workaround to what I'm trying to do:
I want to have a widget — which will place let's say two bitmaps side by side: they will be selected dynamically and their widths vary massively. I want the resultant “image”, consisting of the two images, centered: thus I can't put one left—aligned image next to one right—aligned, because the whole thing will not be centered.
I hoped the image field would let me specify two consecutive “” fields and I could nicely center this compound object — but it doesn't work, only displays the first image.
Is there a way to accomplish what I'm after, or is it truly impossible?
--
白い熊

Categories

Resources