View Full Version : How to make card layout visible?

26 Jan 2015, 3:41 PM

I've searched the web but I could not find a solution to this problem. In my Main.js I just use my own xtype "startseite", which uses "layout: 'card'". But for some reason the cards are invisible.
How to make them visible?

This is my code:

Ext.define('voc_trainer.view.Startseite', {
extend: 'Ext.Panel',
xtype: 'startseite',

config: {
layout: 'card',
fullscreen: true,
cls: 'startseite-cards',
activeItem: 0,

items: [
html: 'First Page'
html: 'Second Page'

Gary Schlosberg
27 Jan 2015, 2:50 PM
Can we see the code for the 'startseite' xtype? Also what does the 'startseite-cards' class look like? Any better if you temporarily remove the 'cls' config?