Skip to content

Commit

Permalink
Merge pull request #65 from oetiker/no-padding
Browse files Browse the repository at this point in the history
don't force rightPadding on form
  • Loading branch information
oetiker authored Oct 30, 2019
2 parents 1d36ee3 + 090debb commit 23c4e4d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
0.21.1 2019-10-30 08:41:21 +0100 Tobias Oetiker <[email protected]>

- remove right padding from form ... if you want padding, you can now add it
via screenOpts layout

0.21.0 2019-10-28 15:57:21 +0100 Tobias Oetiker <[email protected]>

- screenOpts layout and container keys ... see sample app in mojolicious-automake
Expand Down
2 changes: 1 addition & 1 deletion lib/CallBackery.pm
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ use CallBackery::Plugin::Doc;
use CallBackery::Database;
use CallBackery::User;

our $VERSION = '0.21.0';
our $VERSION = '0.21.1';

use Mojo::Base 'Mojolicious';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,7 @@ qx.Class.define("callbackery.ui.plugin.Form", {
var cfg = this._cfg;
this.setLayout(new qx.ui.layout.VBox(30));
var form = this._form = new callbackery.ui.form.Auto(
cfg.form,null,callbackery.ui.form.renderer.NoteForm).set({
paddingRight: 10
});
cfg.form,null,callbackery.ui.form.renderer.NoteForm);
if (cfg['options'] && cfg.options['warnAboutUnsavedData']){
form.addListener('changeData',function(){
if (this._loading == 0){ // only notify when update comes from human interaction
Expand Down

0 comments on commit 23c4e4d

Please sign in to comment.