Skip to content
Roblox API Reference

Enum.FrameStyle

Used to set the style of a Frame.
Items
7
Uses
1

Items7

  • Enum.FrameStyle.Custom = 0
    Uses the frame's GuiObject.BackgroundColor3, GuiObject.BorderColor3, and GuiObject.BackgroundTransparency properties to determine the frame's appearance. It has no padding; elements with the position UDim2.new(0, 0, 0, 0) will appear at the frame's top-left corner.
  • Enum.FrameStyle.ChatBlue = 1
    Causes the frame to appear similar to a Dialog with its Tone property set to DialogTone.Neutral. Like ChatGreen and ChatRed, this has a padding of fifteen pixels on all sides.
  • Enum.FrameStyle.RobloxSquare = 2
    Causes the frame to appear as a translucent dark gray rectangle with a padding of five pixels on all sides.
  • Enum.FrameStyle.RobloxRound = 3
    Causes the frame to appear as a translucent dark gray rectangle with rounded edges. Like RobloxSquare, this has a padding of five pixels on all sides.
  • Enum.FrameStyle.ChatGreen = 4
    Causes the frame to appear similar to a Dialog with its Tone property set to DialogTone.Friendly. Like ChatBlue and ChatRed, this has a padding of fifteen pixels on all sides.
  • Enum.FrameStyle.ChatRed = 5
    Causes the frame to appear similar to a Dialog with its Tone property set to DialogTone.Enemy. Like ChatBlue and ChatGreen, this has a padding of fifteen pixels on all sides.
  • Enum.FrameStyle.DropShadow = 6
    Causes the frame to appear as a translucent gray rectangle with blurred sides. The blur is more apparent on the bottom edge. It has a padding of eight pixels on all sides.

Used by properties1