Skip to content

Commit

Permalink
Merge pull request #175 from weskamm/fixdataviewlayout
Browse files Browse the repository at this point in the history
Fixed the dataview layout of GraphicPool
  • Loading branch information
weskamm committed May 23, 2017
2 parents e3a6c4c + 8600ec1 commit eec18e0
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 2 deletions.
13 changes: 13 additions & 0 deletions sass/src/view/view/GraphicPool.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.graphic-pool-view .thumb {
padding: 3px;
}

.graphic-pool-view .thumb-wrap {
/*height: 90px;*/
float: left;
margin: 4px;
margin-right: 0;
padding: 5px;
-webkit-transition: background-color 1s, border-color 0.5s;
transition: background-color 1s, border-color 0.5s;
}
19 changes: 17 additions & 2 deletions src/view/view/GraphicPool.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,24 @@ Ext.define('BasiGX.view.view.GraphicPool', {
border: false,

/**
*
* shall the dataview be scrollable
*/
scrollable: true,

/**
* the default height of the dataview
*/
height: '100%',

/**
* the default width of the dataview
*/
width: '100%',

/**
* the default class
*/
autoScroll: true,
cls: 'graphic-pool-view',

/**
* readonly
Expand Down

0 comments on commit eec18e0

Please sign in to comment.