mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-25 15:16:07 +00:00
plugin: Fix dark theme when resized to be wide
This commit is contained in:
@@ -17,7 +17,8 @@ function Panel:render()
|
|||||||
return Theme.with(function(theme)
|
return Theme.with(function(theme)
|
||||||
return e("Frame", {
|
return e("Frame", {
|
||||||
Size = UDim2.new(1, 0, 1, 0),
|
Size = UDim2.new(1, 0, 1, 0),
|
||||||
BackgroundTransparency = 1,
|
BackgroundColor3 = theme.Background1,
|
||||||
|
BorderSizePixel = 1,
|
||||||
}, {
|
}, {
|
||||||
Layout = Roact.createElement("UIListLayout", {
|
Layout = Roact.createElement("UIListLayout", {
|
||||||
HorizontalAlignment = Enum.HorizontalAlignment.Center,
|
HorizontalAlignment = Enum.HorizontalAlignment.Center,
|
||||||
@@ -26,8 +27,7 @@ function Panel:render()
|
|||||||
|
|
||||||
Body = e("Frame", {
|
Body = e("Frame", {
|
||||||
Size = UDim2.new(0, 360, 1, -32),
|
Size = UDim2.new(0, 360, 1, -32),
|
||||||
BackgroundColor3 = theme.Background1,
|
BackgroundTransparency = 1,
|
||||||
BorderSizePixel = 0,
|
|
||||||
}, self.props[Roact.Children]),
|
}, self.props[Roact.Children]),
|
||||||
|
|
||||||
Footer = e(RojoFooter),
|
Footer = e(RojoFooter),
|
||||||
|
|||||||
Reference in New Issue
Block a user