Jump to content

Is Possible To Align Text To Start From Left Inside A Button?


Recommended Posts

use   and your brain, you can thank me later

i can add spaces in button name but i have to edit like 500 buttons, and i have to add all the time the correct number of spaces....

Link to comment
Share on other sites

fix this for me first

 

Assertion failed: Class->IsChildOf(T::StaticClass()) [File:d:\work\interlude\2007_05_23\warfare2110\core\inc\UnObjBas.h] [Line: 1241]
 
History: XMLUIManager::CompileUIScripts <- NConsoleWnd::InitializeXMLUI <- NConsoleWnd::Initialize <- NConsoleWnd::Init <- UGameEngine::Init <- InitEngine
 
because i literally cant open ANY l2
Link to comment
Share on other sites

use something like this:

 

before:

<HTML>
<HEAD>
<BODY>
<center>
<table><tr><td width=270 align=center>Allgemeine Informationen zur Serverwahl </td></tr></table>
<img src="L2UI.SquareBlank" width=1 height=4> <img src="L2UI.SquareWhite" width=270 height=1>
</center>
<center><br><br><br1>
<table>
<tr><td width=200 height=33 background="L2UI_CT1.OlympiadWnd_DF_Info" align=center><br><a link="..\L2text\server_help_1.htm">Das Serverkonzept</a></td></tr>
<tr><td width=200 height=33 background="L2UI_CT1.OlympiadWnd_DF_Info" align=center><br><a link="..\L2text\server_help_2.htm">Die Serveranzahl</a></td></tr>
<tr><td width=200 height=33 background="L2UI_CT1.OlympiadWnd_DF_Info" align=center><br><a link="..\L2text\server_help_3.htm">Der Serverstatus</a></td></tr>
</table>
</center>
</BODY>
</HTML> 

Unbenannte777.jpg

 

and after:

<HTML>
<HEAD>
<BODY>
<center>
<table><tr><td width=270 align=center>Allgemeine Informationen zur Serverwahl </td></tr></table>
<img src="L2UI.SquareBlank" width=1 height=4> <img src="L2UI.SquareWhite" width=270 height=1>
</center>
<center><br><br><br1>
<table>
<tr><td width=200 height=33 background="L2UI_CT1.OlympiadWnd_DF_Info" align=left><br><font color="FFFFFF"><a link="..\L2text\server_help_1.htm">Das Serverkonzept</a></font></td></tr>
<tr><td width=200 height=33 background="L2UI_CT1.OlympiadWnd_DF_Info" align=center><br><a link="..\L2text\server_help_2.htm">Die Serveranzahl</a></td></tr>
<tr><td width=200 height=33 background="L2UI_CT1.OlympiadWnd_DF_Info" align=center><br><a link="..\L2text\server_help_3.htm">Der Serverstatus</a></td></tr>
</table>
</center>
</BODY>
</HTML>

Unbenadnnt649c.jpg

Edited by snifi
Link to comment
Share on other sites

Your button should be like this. That'S the only way without modifiing your client i guess :)

 

<table>
<tr><td>    </td><td width=273 height=22 background="button.HtmlWnd_BTN01_over" align="left"><font color="FFFFFF"><a action="bypass -h voice .dressme_black_assassin">Dress me like one of your Assassin Girls!</a></font></td></tr>
</table>
Edited by snifi
Link to comment
Share on other sites

 

Your button should be like this. That'S the only way without modifiing your client i guess :)

 

<table>
<tr><td>    </td><td width=273 height=22 background="button.HtmlWnd_BTN01_over" align="left"><font color="FFFFFF"><a action="bypass -h voice .dressme_black_assassin">Dress me like one of your Assassin Girls!</a></font></td></tr>
</table>

 

it look very very bad this way and the button doesnt even work, add me to skype for show u more: l2developer (kamex)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...