netzke / netzke-core

Framework for Sencha Ext JS + Ruby on Rails client-server components
http://netzke.org
Other
263 stars 77 forks source link

Netzke::Basepack::GridPanel::RecordFormWindow have unoverridable config #24

Closed vimutter closed 13 years ago

vimutter commented 13 years ago

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.