+1 vote

Hi everyone!
I have added a Tab Container node with two Tabs as its child. I have renamed the Tabs to Upgrade and Buy. But the Upgrade and Buy written at top are very small and in ugly font style. I only want to increase the Font size and its font.
https://drive.google.com/file/d/1Eb7EOaxV0fWATntKBXjN6XNdPtO4241g/view?usp=sharing
Thank you!

Godot version v3.2.3-stable_win64
in Engine by (884 points)

1 Answer

+1 vote
Best answer

Hey there!

It's slightly counter-intuitive, but to change the fonts (and size) of the Tab nodes, you actually need to set your Custom Fonts on the Tab Container node instead.

Selecting the TabContainer
Setting Custom Fonts
You can also adjust height margins in the same place. Hope that it helps!

by (992 points)
selected by

Thanks a lot friend!
Your answers are always very helpful.
Godot QA should be proud to have users like you.
Best of luck!!!!

Just a silly question I have!

I have now added some nodes as below
Upgrade
>Scroll container
>>HBoxContainer
>>>(Buttons, labels, textures etc.. )

Now I can scroll it horizontally easily with the slider at the bottom. But I also want it to scroll it by Swiping it.
Thanks again!

That's a really good question actually!
I do have an answer for you:

Go into your Project Settings, then Input Devices > Pointing (or just search "touch"), and enable "Emulate Touch from Mouse"

Project Settings

Now... by default the user can scroll downwards even if there's no vertical scroll bar....for some reason....
(it's an engine quirk)

Infinite vertical scrolling
And that is obviously undesirable.

If you have vertical content then you can ignore this (because the problem goes away), but to solve it: select your ScrollContainer node and in its properties, set: Vertical Enabled to be disabled.

And, also.... thanks!
You're welcome! (every single time!)

It is fun to answer questions here sometimes, and it's also really nice to answer questions like yours where you have all the details for your question, and you always give feedback so it's really nice to see your response and be satisfied in knowing if the answer(s) had actually helped in some way.

I don't know enough or have barely enough time to answer even half the answers that pass through here, but I really think of good questions and QA sites as valuable resources for future developers of all walks of life.

So the best of luck with your project and please feel very welcome to keep asking questions if you need!   : )

Thanks again!
It worked in the same way which I had thought for my project.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.