HouseMD

Enlargening Text Labels...

Recommended Posts

I am using guiCreateLabel, but i don't seem to be able to make the label bigger... Even if i increase the size of it. Do i have to use a bigger font to get bigger labels? Because i would just like to use the general one.

Share this post


Link to post

The dimensions of a label do not apply to the font size afaik. All it does is make the visible area bigger in case you want multiple lines for example.

Share this post


Link to post
I am using guiCreateLabel, but i don't seem to be able to make the label bigger... Even if i increase the size of it. Do i have to use a bigger font to get bigger labels? Because i would just like to use the general one.

You will have to use different font.

Share this post


Link to post

So you can only use the DirectX commands to enlarge the labels :( btw can i add my own fonts (Don't think so but worth a try)

Share this post


Link to post

I think it would be nice if MTA could display text from GTA SA because it's possible to set the size and turn outlines on. And ability to create menus like in GTA SA would be nice too.

Share this post


Link to post
So you can only use the DirectX commands to enlarge the labels :( btw can i add my own fonts (Don't think so but worth a try)

http://development.mtasa.com/index.php?title=DxDrawText

Use this one instead of the label. (I don't know for sure if it works in DP2.x) The scale parameter is what you might want to improve.

It's available in 1.0 (aka nightly builds). Also, if you want to create a label inside a GUI window with dx functions you wouldn't be able to (if window is movable) unless you want to change it's position whenever window moves.

Share this post


Link to post
I think it would be nice if MTA could display text from GTA SA because it's possible to set the size and turn outlines on. And ability to create menus like in GTA SA would be nice too.

You can create GTA SA menus with the DX draw functions.

Edited by Guest

Share this post


Link to post

I know all that Dx stands for DirectX -_- Unfortunately its not available in dp 2.3! That's the reason why i wanted the other way, but no sweat i will find a way

Share this post


Link to post

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.