Fix Layout Control
This commit is contained in:
@@ -32,6 +32,7 @@ feature -- Change
|
||||
c: WSF_NAVLIST_ITEM_CONTROL
|
||||
do
|
||||
create c.make (control_name + "_item_" + controls.count.out, link, text)
|
||||
add_control(c)
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
@@ -35,6 +35,7 @@ feature -- Add control
|
||||
create div.make (control_name + "_item_" + controls.count.out)
|
||||
div.add_class ("col-md-" + span.out + " col-md-offset-" + offset.out)
|
||||
div.add_control (c)
|
||||
add_control_raw (div)
|
||||
end
|
||||
|
||||
add_control (c: WSF_STATELESS_CONTROL; span: INTEGER)
|
||||
@@ -44,6 +45,7 @@ feature -- Add control
|
||||
create div.make (control_name + "_item_" + controls.count.out)
|
||||
div.add_class ("col-md-" + span.out)
|
||||
div.add_control (c)
|
||||
add_control_raw (div)
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user