mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 06:28:19 +00:00
fix padding of buttons in settings
This commit is contained in:
parent
37791ada99
commit
76eac08783
|
@ -236,7 +236,6 @@ CUI::EPopupMenuFunctionResult CEditor::PopupMenuSettings(void *pContext, CUIRect
|
||||||
View.HSplitTop(12.0f, &Slot, &View);
|
View.HSplitTop(12.0f, &Slot, &View);
|
||||||
{
|
{
|
||||||
Slot.VMargin(5.0f, &Slot);
|
Slot.VMargin(5.0f, &Slot);
|
||||||
Slot.VSplitRight(5.0f, &Slot, nullptr); // right margin
|
|
||||||
|
|
||||||
CUIRect Label, Selector;
|
CUIRect Label, Selector;
|
||||||
Slot.VSplitMid(&Label, &Selector);
|
Slot.VSplitMid(&Label, &Selector);
|
||||||
|
@ -260,7 +259,6 @@ CUI::EPopupMenuFunctionResult CEditor::PopupMenuSettings(void *pContext, CUIRect
|
||||||
View.HSplitTop(12.0f, &Slot, &View);
|
View.HSplitTop(12.0f, &Slot, &View);
|
||||||
{
|
{
|
||||||
Slot.VMargin(5.0f, &Slot);
|
Slot.VMargin(5.0f, &Slot);
|
||||||
Slot.VSplitRight(5.0f, &Slot, nullptr); // right margin
|
|
||||||
|
|
||||||
CUIRect Label, Selector;
|
CUIRect Label, Selector;
|
||||||
Slot.VSplitMid(&Label, &Selector);
|
Slot.VSplitMid(&Label, &Selector);
|
||||||
|
@ -284,7 +282,6 @@ CUI::EPopupMenuFunctionResult CEditor::PopupMenuSettings(void *pContext, CUIRect
|
||||||
View.HSplitTop(12.0f, &Slot, &View);
|
View.HSplitTop(12.0f, &Slot, &View);
|
||||||
{
|
{
|
||||||
Slot.VMargin(5.0f, &Slot);
|
Slot.VMargin(5.0f, &Slot);
|
||||||
Slot.VSplitRight(5.0f, &Slot, nullptr); // right margin
|
|
||||||
|
|
||||||
CUIRect Label, Selector;
|
CUIRect Label, Selector;
|
||||||
Slot.VSplitMid(&Label, &Selector);
|
Slot.VSplitMid(&Label, &Selector);
|
||||||
|
|
Loading…
Reference in a new issue