PDA

View Full Version : GuiTextListCtrl.profile.align = "center";


zokemon
03-10-2008, 02:31 PM
new GuiTextListCtrl("MyList") {
resize(7, 42, 400, 134);
useownprofile = true;
profile.copyfrom(GuiTextListProfile);
profile.fontsize = 16;
profile.align = "center";
profile.autosizewidth = false;
fitparentwidth = false;
}

Doesn't work :confused:.

Text always stays aligned to the left...

cbk1994
03-10-2008, 11:11 PM
Did you try justify?

profile.justify = "center";

Admins
03-11-2008, 01:29 AM
It's always drawing it left-aligned

zokemon
03-11-2008, 03:00 AM
Can you fix this though?

Did you try justify?

profile.justify = "center";

Justify does the same thing and for the record, yes.

cbk1994
03-11-2008, 04:19 AM
Can you fix this though?



Justify does the same thing and for the record, yes.

I know it does the same thing, I was wondering if you had tried it incase it works for some weird reason. ^^

zokemon
03-11-2008, 11:57 AM
I know it does the same thing, I was wondering if you had tried it incase it works for some weird reason. ^^

Ahh, okay ^^.

napo_p2p
03-14-2008, 09:43 AM
Yeah, just today I came across a list that I wanted right justified.

I approve.

zokemon
03-21-2008, 06:23 PM
Can we get this fixed, please?

Stryke
05-19-2008, 06:58 AM
while your at it please fix guitextedit.border

Crow
05-19-2008, 01:49 PM
I'm requesting textoffset to be added to more things, especially buttons and all that stuff.

Admins
05-19-2008, 01:53 PM
while your at it please fix guitextedit.border

Text edit fields have special gfx, its always drawing a bitmap border with 8 slices (normal bitmap borders with border=5 have 9 slices). If you want different looking controls then use the gui styles.

cbk1994
05-20-2008, 01:04 AM
Text edit fields have special gfx, its always drawing a bitmap border with 8 slices (normal bitmap borders with border=5 have 9 slices). If you want different looking controls then use the gui styles.

Why not fix it instead of giving an alternative?

Admins
05-20-2008, 12:58 PM
Why not fix it instead of giving an alternative?

It's an alternative which fixes it. Changing the default behaviour would break existing stuff.

cbk1994
05-20-2008, 02:12 PM
It's an alternative which fixes it. Changing the default behaviour would break existing stuff.

Oh, I see what you meant. I thought you were saying it's broke so use something else. My bad :)