skozlov/netzke-core — Issue #24: Netzke::Basepack::GridPanel::RecordFormWindow have unoverridable config
Author: vimutter
Created: 2011-11-11 12:48:42+00:00
State: open

Its preferable to use

def default_instance_config
{
:modal => true,
:width => "50%",
:auto_height => true,
:fbar => [:ok.action, :cancel.action]
}
end

instead of @config@ class method to define config because the config defines weak_final_config that merges the all others. So, for example there no easy way to set edit window to maximize or allow to change height.