mettli / guichan

Automatically exported from code.google.com/p/guichan
Other
0 stars 0 forks source link

ScrollArea with textbox doesn't scroll when using an Allegro font #120

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use the example project "allegrowidgets"
2. Change the ImageFont to an AllegroFont, loading the default "font"
global variable (also need to change the name of the local variable "font"
to something else because of the name collision)
*Modified source code attached to post.

What is the expected behaviour? What happens instead?
It's expected that the scroll area will display different portions of the
textbox depending on where the vertical scrollbar is scrolled to.
Instead, the scrollbar has no effect, and the displayed portion of the
textbox is always the top part.
Also, when you edit the textbox and go beyond the bottom, it's supposed to
scroll down, but it doesn't.
Screenshot: http://img16.imageshack.us/img16/5230/textboxscrolldefect.jpg

What version of the product are you using? On what operating system? Which
back-end (SDL/Allegro/OpenGL/other)?
version 8.1, Vista, Allegro.

Original issue reported on code.google.com by taekvi...@gmail.com on 18 Jul 2009 at 5:09

Attachments:

GoogleCodeExporter commented 9 years ago
taekvideo, could you test whether the attached patch fixes the issue? I can't 
test it
myself at the moment.

Original comment by b.lindeijer on 16 Aug 2009 at 1:25

Attachments: