Completed
Pull Request — master (#141)
by
unknown
02:37
created
src/eXpansion/Bundle/Menu/Plugins/Gui/MenuContentFactory.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -14,9 +14,7 @@
 block discarded – undo
14 14
 use eXpansion\Framework\Gui\Components\uiButton;
15 15
 use eXpansion\Framework\Gui\Components\uiLabel;
16 16
 use FML\Controls\Frame;
17
-use FML\Controls\Label;
18 17
 use FML\Controls\Quad;
19
-use FML\Script\ScriptLabel;
20 18
 
21 19
 
22 20
 /**
Please login to merge, or discard this patch.
src/eXpansion/Framework/Gui/Components/uiDropdown.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -166,14 +166,14 @@  discard block
 block discarded – undo
166 166
 
167 167
         $labelMark = new uiLabel("⏷");
168 168
         $labelMark->setAlign("left", "center");
169
-        $labelMark->setPosition(0,-($this->height/2));
169
+        $labelMark->setPosition(0, -($this->height / 2));
170 170
         $labelMark->setSize(5, 5)->setX($this->width - 5);
171 171
 
172 172
         $baseLabel = new Label();
173 173
         $baseLabel->setAreaColor("000")->setAreaFocusColor("333")
174 174
             ->setScriptEvents(true)->addClass("uiSelectElement")
175 175
             ->setSize($this->width, $this->height)
176
-            ->setPosition(0, -($this->height/2))
176
+            ->setPosition(0, -($this->height / 2))
177 177
             ->setTextPrefix(" ")
178 178
             ->setTextSize(1)
179 179
             ->setAlign("left", "center")
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
         $entry->setPosition(900, 900)
189 189
             ->setName($this->name);
190 190
 
191
-        $frameOptions = new layoutRow(0, -($this->height/2));
191
+        $frameOptions = new layoutRow(0, -($this->height / 2));
192 192
         $frameOptions->addClass('uiDropdownSelect');
193 193
 
194 194
         $idx = 0;
Please login to merge, or discard this patch.
src/eXpansion/Framework/Gui/Components/uiCheckbox.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
     public function render(\DOMDocument $domDocument)
68 68
     {
69 69
         $containerFrame = new Frame();
70
-        $containerFrame->setPosition($this->posX-1, $this->posY)
70
+        $containerFrame->setPosition($this->posX - 1, $this->posY)
71 71
             ->setZ($this->posZ)
72 72
             ->setScale($this->scale)
73 73
             ->addClasses(['uiContainer', 'uiCheckbox'])
Please login to merge, or discard this patch.