Dan7E2 Posted June 17, 2016 Posted June 17, 2016 Is possible to align text to start from left inside a button? every button from lineage2 have the text in the middle i want make it start from left side anyone know? i have tryed everything i know and doesn't work
Snoopi Posted June 17, 2016 Posted June 17, 2016 I am not sure since i never worked with in-game htmls. but try align="right"
Dan7E2 Posted June 17, 2016 Author Posted June 17, 2016 aling where? <button value="Dress me as assasin" action="bypass -h voice .dressme_black_assasin width=273 height=22 back="button.HtmlWnd_BTN01_over" fore="button.HtmlWnd_BTN01"> i want the text "Dress me as assasin" to start from left and continue the text stay all the time in the middle of the button
SweeTs Posted June 17, 2016 Posted June 17, 2016 (edited) Moving it to right side won't work. Since the text will be moved as well. The text is always centered. The only 'walk around' I know is, to cut the button width. For example, if original is 256, cut it to 150 or so, depending on your text length. But yeah.. Button is simply cut and it looks bad :D Edited June 17, 2016 by SweeTs
Dan7E2 Posted June 17, 2016 Author Posted June 17, 2016 I gave up, is impossible to make this thing.... I wanted to have l2classic htmls in interlude but i found out is impossible
snifi Posted June 17, 2016 Posted June 17, 2016 (edited) u can use tables. use the button images as table background and use a normal <a action for your links. you can change the font color to avoid the blue link color. then use "align" to align ur link that is lying infront of your button image. and voila.... a button with a text aligned to the left or to the right. you can also work with to create empty spaces infront or your first letter of the first word :) the only thing.....you wont have the button down effect on klicking... but still a good looking html ^^ Edited June 17, 2016 by snifi
Dan7E2 Posted June 17, 2016 Author Posted June 17, 2016 snifi if you think it will work <button value="Dress me as assasin" action="bypass -h voice .dressme_black_assasin width=273 height=22 back="button.HtmlWnd_BTN01_over" fore="button.HtmlWnd_BTN01"> fix me this button please :D
Snoopi Posted June 17, 2016 Posted June 17, 2016 <button value="Dress me as assasin " action="bypass -h voice .dressme_black_assasin width=273 height=22 back="button.HtmlWnd_BTN01_over" fore="button.HtmlWnd_BTN01"> maybe something like that? or in-game html has overflow hidden?
Dan7E2 Posted June 17, 2016 Author Posted June 17, 2016 not working, all need to do is to find a way that the text will not stay in center of button i found a way but i have to add spaces to every button, and i have like 500 buttons to edit :))
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now