diff --git a/Common/Common.csproj b/Common/Common.csproj
index 36fde797..c5acac8c 100644
--- a/Common/Common.csproj
+++ b/Common/Common.csproj
@@ -57,6 +57,7 @@
+
diff --git a/Common/Enums/LayoutDirection.cs b/Common/Enums/LayoutDirection.cs
new file mode 100644
index 00000000..061f249e
--- /dev/null
+++ b/Common/Enums/LayoutDirection.cs
@@ -0,0 +1,15 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Swarmops.Common.Enums
+{
+ public enum LayoutDirection
+ {
+ Unknown = 0,
+ Horizontal,
+ Vertical
+ }
+}
diff --git a/Site/Controls/v5/Base/DropDown.ascx b/Site/Controls/v5/Base/DropDown.ascx
index c56ab3ca..a49c85cf 100644
--- a/Site/Controls/v5/Base/DropDown.ascx
+++ b/Site/Controls/v5/Base/DropDown.ascx
@@ -1,7 +1,8 @@
<%@ Control Language="C#" AutoEventWireup="true" Inherits="Swarmops.Frontend.Controls.Base.DropDown" CodeFile="DropDown.ascx.cs" %>
<%@ Import Namespace="System.Threading" %>
+<%@ Import Namespace="Swarmops.Common.Enums" %>
-
-
+<% if (this.Direction == LayoutDirection.Vertical){ %><% } %>
diff --git a/Site/Controls/v5/Base/DropDown.ascx.cs b/Site/Controls/v5/Base/DropDown.ascx.cs
index a530c2bb..dfc84129 100644
--- a/Site/Controls/v5/Base/DropDown.ascx.cs
+++ b/Site/Controls/v5/Base/DropDown.ascx.cs
@@ -1,6 +1,7 @@
using System;
using System.Web.UI;
using System.Web.UI.WebControls;
+using Swarmops.Common.Enums;
namespace Swarmops.Frontend.Controls.Base
@@ -31,8 +32,16 @@ namespace Swarmops.Frontend.Controls.Base
get { return this.DropControl; }
}
+ public LayoutDirection Layout { get; set; }
+
protected void Page_Load (object sender, EventArgs e)
{
+ if (this.Layout == LayoutDirection.Unknown)
+ {
+ this.Layout = LayoutDirection.Vertical;
+ }
}
+
+
}
}
\ No newline at end of file
diff --git a/Site/Controls/v5/Financial/ComboBudgets.ascx b/Site/Controls/v5/Financial/ComboBudgets.ascx
index 169fa43d..c74f488b 100644
--- a/Site/Controls/v5/Financial/ComboBudgets.ascx
+++ b/Site/Controls/v5/Financial/ComboBudgets.ascx
@@ -1,5 +1,6 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ComboBudgets.ascx.cs" Inherits="Swarmops.Controls.Financial.ComboBudgets" %>
<%@ Import Namespace="System.Threading" %>
+<%@ Import Namespace="Swarmops.Common.Enums" %>
-
\ No newline at end of file
+ <% if (this.Layout == LayoutDirection.Vertical) { %><% } %>
+
+ <% if (this.Layout == LayoutDirection.Vertical) { %>
<% } %>
\ No newline at end of file
diff --git a/Site/Controls/v5/Financial/ComboBudgets.ascx.cs b/Site/Controls/v5/Financial/ComboBudgets.ascx.cs
index 24be9b25..0418449f 100644
--- a/Site/Controls/v5/Financial/ComboBudgets.ascx.cs
+++ b/Site/Controls/v5/Financial/ComboBudgets.ascx.cs
@@ -1,4 +1,5 @@
using System;
+using Swarmops.Common.Enums;
using Swarmops.Frontend;
namespace Swarmops.Controls.Financial
@@ -44,8 +45,14 @@ namespace Swarmops.Controls.Financial
((PageV5Base) this.Page).RegisterControl (EasyUIControl.Tree | EasyUIControl.Combo | EasyUIControl.ComboBox);
}
+ public LayoutDirection Layout { get; set; }
+
protected void Page_Load (object sender, EventArgs e)
{
+ if (this.Layout == LayoutDirection.Unknown)
+ {
+ this.Layout = LayoutDirection.Vertical;
+ }
}
}
}
\ No newline at end of file
diff --git a/Site/Pages/v5/Ledgers/InspectLedgers.aspx b/Site/Pages/v5/Ledgers/InspectLedgers.aspx
index eea6b8e8..54f23697 100644
--- a/Site/Pages/v5/Ledgers/InspectLedgers.aspx
+++ b/Site/Pages/v5/Ledgers/InspectLedgers.aspx
@@ -305,7 +305,7 @@
-
+