Skip to content

Commit

Permalink
Merge pull request #903 from AntlerForce/master
Browse files Browse the repository at this point in the history
Align tipTextBox to Center
  • Loading branch information
AntlerForce authored Feb 1, 2025
2 parents fd0b9f6 + 4002614 commit fe3dc0c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions LuaMenu/widgets/gui_battle_room_window.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2628,16 +2628,16 @@ local function InitializeSetupPage(subPanel, screenHeight, pageConfig, nextPage,

local tipTextBox
if pageConfig.tipText then
tipTextBox = TextBox:New {
tipTextBox = Label:New {
name = 'tipTextBox',
x = "28%",
x = "6%",
y = 3*buttonScale + 20 + numOptions*buttonScale,
right = "26%",
right = "5%",
height = 200,
align = "left",
align = "center",
objectOverrideFont = WG.Chobby.Configuration:GetFont(2),
objectOverrideHintFont = WG.Chobby.Configuration:GetFont(2),
text = pageConfig.tipText,
caption = pageConfig.tipText,
parent = subPanel,
}
tipTextBox:Hide()
Expand Down

0 comments on commit fe3dc0c

Please sign in to comment.