Closed KamilTheDev closed 1 month ago
At this point, no.
I am plaining to add some space for Layout
to increase some readability, and also #44 will also allow to set space below a field, so please stay tuned.
Hi,
Though not directly related, the 3.1.5 now add 2px space for Layout to improve some readability which might make the situation a bit better.
Hi @KamilTheDev , please try version 3.2.1 for this feature.
public string start;
[LayoutGroup("Group", ELayout.FoldoutBox, marginTop: 10, marginBottom: 10)]
public string group1;
public string group2;
public string group3;
[LayoutEnd("Group")]
public string middle;
[Layout("Layout", ELayout.TitleBox, marginTop: 10, marginBottom: 10)] public string layout1;
[Layout("Layout")] public string layout2;
[Layout("Layout")] public string layout3;
public string end;
[Serializable]
public struct MyStruct
{
public string start;
[LayoutGroup("Group", ELayout.FoldoutBox, marginTop: 10, marginBottom: 10)]
public string group1;
public string group2;
public string group3;
[LayoutEnd("Group")]
public string middle;
[Layout("Layout", ELayout.TitleBox, marginTop: 10, marginBottom: 10)] public string layout1;
[Layout("Layout")] public string layout2;
[Layout("Layout")] public string layout3;
public string end;
}
[SaintsRow] public MyStruct myStruct;
This issue is now closed as it's been implemented. If you still face similar issue, comment below and I'll open it again.
If I have the following code:
I get the result:![Screenshot 2024-07-14 230107](https://github.com/user-attachments/assets/23f97616-9ea6-408f-9663-afad906ef9f8)
How can I make the space appear outside of the
[LayoutGroup]
?