Jump to content

Font size of announce bar


Go to solution Solved by VegaS™,

Recommended Posts

  • Forum Moderator
  • Solution
On 11/23/2019 at 8:09 PM, Paikei said:

uitip.py in root

No, you can't change the font size for TextBar (/n) in python, just for BigTextBar (/b).

db58ad32020eada68f47d371302d29e9.gif

Client\src\eterPythonLib\PythonGraphicModule.cpp

This is the hidden content, please

#root/uiTip.py
#class TipBoard(ui.Bar):
# Search for:
		self.width = 370
# Replace with:
		self.width = 740

# Search for:
	STEP_HEIGHT = 17
# Replace with:
	STEP_HEIGHT = 34

# Search for:
		self.SetSize(370, 20)
# Replace with:
		self.SetSize(self.width, 40)
		
# Search for:
		self.textBar = TextBar(370, 300)
# Replace with:
		self.textBar = TextBar(self.width, 600)

# Search for:
		self.textBar.SetClipRect(0, y, wndMgr.GetScreenWidth(), y+18)
# Replace with:
		self.textBar.SetClipRect(0, y, wndMgr.GetScreenWidth(), y+self.STEP_HEIGHT+2)
Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 12
  • Eyes 1
  • Good 2
  • Love 11
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 5

      OLDGODSMT2 [ MEGA SF RELEASE ]

    2. 24

      Experimental Renderer

    3. 11

      Multi Language System

    4. 0

      [FREE DESIGN] Interface + Logo + Discord Banner and Avatar

    5. 4

      Feeding game source to LLM

    6. 0

      Quest 6/7 Problem

    7. 5

      Effect weapons

    8. 0

      [C++] Fix Core Downer Using Negative Number in GM Codes

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.