Current time: 03-19-2010, 11:05 AM Hello There, Guest! (LoginRegister)


 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] small textbox (+ fix)
10-14-2008, 03:02 PM
Post: #1
[F] small textbox (+ fix)
http://forum.kde.org/showthread.php?tid=6433

Cheers,
Rob

forum.kde.org
Communicate.

[Image: kde-forum.png]
Find all posts by this user
10-14-2008, 10:42 PM
Post: #2
RE: small textbox (+ fix)
What exactly is the fix? Styling message_new and message_old?

[Image: ryangordon.png]
My Blog - My Mods
Visit this user's website Find all posts by this user
10-14-2008, 11:03 PM
Post: #3
RE: small textbox (+ fix)
To be honest: I don't know...
I only posted this message; Neverendingo implemented the fix, but he forgot to post it here.

I'll send him here.

forum.kde.org
Communicate.

[Image: kde-forum.png]
Find all posts by this user
10-14-2008, 11:07 PM
Post: #4
RE: small textbox (+ fix)
Yes, the trick was to style #message_new and #message_old for the original width and height.
And they were 314px height and 591px width.
This fix only applies for konqueror, as most of the other browsers seem to work already.

forum.kde.org
Communicate.
Find all posts by this user
10-14-2008, 11:10 PM
Post: #5
RE: small textbox (+ fix)
Thanks

(10-14-2008 11:07 PM)neverendingo Wrote:  This fix only applies for konqueror, as most of the other browsers seem to work already.

Okay, but implementing it in the CSS doesn't mess up any other browsers as far as your able to tell?

I'd assume it wouldn't but you can never be too sure

[Image: ryangordon.png]
My Blog - My Mods
Visit this user's website Find all posts by this user
10-15-2008, 12:05 PM
Post: #6
RE: small textbox (+ fix)
(10-14-2008 11:10 PM)Ryan Gordon Wrote:  Thanks

(10-14-2008 11:07 PM)neverendingo Wrote:  This fix only applies for konqueror, as most of the other browsers seem to work already.

Okay, but implementing it in the CSS doesn't mess up any other browsers as far as your able to tell?

I'd assume it wouldn't but you can never be too sure
it seems it doesn't mess up other browsers.
But a user of our board told us a nicer solution, i will quote him:

Quote:I just recommended the CSS because I thought it is the easiest for the KDE forums, without fiddling with the JS and trying it out in all browsers.
I cannot try it at the moment, but usually the right fix would be to modify editor.js so it sets the "cols" and "rows" attribute programatically from the values of the existing one. So in the part where you do

textInput = document.createElement("textarea");

You should also do

textInput.setAttribute("cols", oldTextbox.getAttribute("cols"));

and the same for the rows.
I will try that first at my local copy, but i guess he is right, as i see that one of the message boxes has no attributes like that at all.

forum.kde.org
Communicate.
Find all posts by this user
10-21-2008, 01:47 AM
Post: #7
[F] small textbox (+ fix)
Thank you for your bug report.

This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated.

With regards,
MyBB Group

[Image: ryangordon.png]
My Blog - My Mods
Visit this user's website Find all posts by this user


Forum Jump: