Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   GuiMLTextCtrl sucks (https://forums.graalonline.com/forums/showthread.php?t=86419)

cbk1994 06-19-2009 02:56 PM

GuiMLTextCtrl sucks
 
Why don't these work for GuiMLTextCtrl and GuiMLTextEditCtrl?

Quote:

profile.align - alignment of text
profile.fontstye - style of text such a "bi"
They only seem to work for GuiTextCtrl, which makes it impossible to bold or align text in a GuiMLTextEditCtrl since inserting HTML tags wouldn't work.

Does anyone know of a workaround?

Crow 06-19-2009 10:17 PM

The workaround you are looking for is HTML. GuiMLTextCtrl supports it. At least simple things like <b></b> and <i></i>.

DustyPorViva 06-19-2009 10:19 PM

I agree [to nothing, apparently. I think it's stupid, however]. Same for fontcolor and such. These profile settings should be set default until an html tag overwrites it...
It's really annoying to have to append font color tags to everything just to make sure it displays the color you'd like.

Crow has the right idea, though.

cbk1994 06-20-2009 02:35 AM

Quote:

Originally Posted by Crow (Post 1500300)
The workaround you are looking for is HTML. GuiMLTextCtrl supports it. At least simple things like <b></b> and <i></i>.

Right, but it doesn't work for GuiMLTextEditCtrl, which is what I need it to work for.

Crow 06-20-2009 02:10 PM

Quote:

Originally Posted by cbk1994 (Post 1500371)
Right, but it doesn't work for GuiMLTextEditCtrl, which is what I need it to work for.

Ahh, you've got a point.


All times are GMT +2. The time now is 04:47 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.