World: r3wp
[View] discuss view related issues
older newer | first last |
Robert 14-Mar-2005 [604x3] | I have a text-list in a layout and I have a simple log-function: log: func [message [string! block!]][ append log-list/data rejoin [now/date "/" now/time " " message] show log-list ] |
If MESSAGE is longer than the width of the text-list MESSAGE isn't shown. Why this? The first two parts NOW/DATE and NOW/TIME are shown. | |
I expected that MESSAGE gets clipped | |
Graham 14-Mar-2005 [607x2] | yeah, but it doesn't. .it just gets dropped from the display |
That has been annoying me for some years. | |
Robert 14-Mar-2005 [609] | Hmm... is there a simple fix, patch available? |
Ammon 14-Mar-2005 [610] | I don't recall ever running into that specific problem before but I know that I've always done more than just SHOWing the text-list after updating its data... |
Robert 14-Mar-2005 [611] | Ok, that's a hint. So Ammon, what have you done? :-)) Shoot it? |
Ammon 14-Mar-2005 [612] | What version of REBOL are you using? |
Robert 14-Mar-2005 [613x2] | Link |
REBOL/Link 1.0.6.3.1 3-Aug-2002 | |
Ammon 14-Mar-2005 [615] | text-list/update |
Chris 14-Mar-2005 [616] | Sounds like a wrapping issue in the iterated faces... |
Ammon 14-Mar-2005 [617] | Yes it does. |
Graham 14-Mar-2005 [618] | yeah, wraps to another line that you can't see |
Robert 14-Mar-2005 [619] | I try it... just a moment. |
Chris 14-Mar-2005 [620x2] | Add this to your text-list: |
with [append init [iter/para/wrap?: false]] | |
Robert 14-Mar-2005 [622x2] | Ammon, nice effect: It doesn't update at all :-)) I have to click into the text-list than it updates. But the long line is still missing. |
But I don't want to wrap it. I just want to see as much as possible with the rest being clipped. | |
Ammon 14-Mar-2005 [624x2] | Did you show it after you updated it? |
Try the code Chris gave... | |
Robert 14-Mar-2005 [626] | Now it updates but no long line. I try Chris' code. Need to go, sorry. Bye. |
Robert 15-Mar-2005 [627] | Ok, this fixes the problem... Now the text is clipped. |
Maxim 20-Mar-2005 [628] | aahhh, no matter how deeply you know something, there is always something that gets on your nerve... changing the button font color seems to be a genuine pain... can someone refresh me why its impossible? this doesn't work... altough I've allocated a stand-alone font and have removed all the dynamic code which AFAIK plays around with the font or text: view layout [button "ok" font [color: red] with [feel: make feel [redraw: none over: none]]] yet, this works: view layout [text "ok" font [color: red] with [feel: make feel [redraw: none over: none]]] |
Vincent 20-Mar-2005 [629] | you have to set 'colors, not 'color: view layout [button "ok" font [colors: reduce [red white]] with [feel: make feel [redraw: none over: none]]] for a button with inactive color red and active color white |
Maxim 20-Mar-2005 [630x2] | strange I tried it earlier and it didn't work... |
so basically, If I try with a font without colors attribute, then it should work? | |
Vincent 20-Mar-2005 [632] | for 'button yes - font/color is a copy of font/colors/1 at init |
Maxim 20-Mar-2005 [633x4] | AHHH that's it... forgot to look in init... |
that is evil... | |
I mean, init swapping the color... | |
merci Vincent | |
Allen 21-Mar-2005 [637x2] | Anyone had Norton 2005 worm detection, blocking REBOL/view as a worm called "DeepThroat Trojan Horse" ? I've had it twice today whilst using rebol for ftp uploads |
I'm hoping this a false reading, and my machine hasn't been infected/hijacked | |
Graham 21-Mar-2005 [639] | I tried to send a rebol archive the other day using my hotmail account ( testing attachments with my webmail ) and it said it was infected. Scanned it with bitdefender which said it was clean . |
[unknown: 10] 22-Mar-2005 [640] | Does any one have a HINT on how i can make a dragg & drop Face to DROP within the bouderies of an underlaying face.. I.e. Im dragging a Face over a field of faces, when I drop it on the face below and then the dropped face should FIT itself inside the face below. Is there someting default for this in view/vid ? or do i need to calculate it myself? .. Its a kind of a Puzzle-piece drop... |
Ammon 22-Mar-2005 [641] | Do you have access to the Developer IOS Server? |
[unknown: 10] 22-Mar-2005 [642x2] | Mmmm no... dont have IOS here running... |
Only have SDK en View/pro ... | |
Ammon 22-Mar-2005 [644x2] | Start here... http://www.rebol.com/how-to/feel.html |
That'll at least show you dragging | |
[unknown: 10] 22-Mar-2005 [646x5] | Jaaa thats not the problem |
the problem is to get the face exactly inside the face below | |
when i release the mouse button... | |
currently it drops at the point of release but it should drop inside a boundery of the face below.. | |
I think i need to build a extra fcuntion for it.. | |
Ammon 22-Mar-2005 [651] | You do |
[unknown: 10] 22-Mar-2005 [652] | so nothing there inside View thats able to check this by default then? |
Ammon 22-Mar-2005 [653] | Not AFAIK |
older newer | first last |