Showing posts with label Sencha. Show all posts
Showing posts with label Sencha. Show all posts

Sencha ExtJs: How to make a Panel Transparent

Sencha ExtJs: How to make a Panel Transparent

Just add bodyStyle: 'background:transparent" as below. :)

Ext.define('MyApp.view.myPanel', {
extend: 'Ext.form.Panel',
bodyStyle: 'background:transparent;",
html : "test"
});

Reference:

https://www.sencha.com/forum/showthread.php?37270-How-to-make-a-panel-transparent

Sencha cmd change port

Sencha cmd Change Port Number

sencha web -port 8000 start

When we generate and run app using sencha cmd, by default it will map to http://localhost:1841/. The port number can be changed by specifying the port number as above while starting the server.

eg:

D:\senchaSamples\sample_app>sencha web start
Sencha Cmd v5.1.1.39
[INF] Mapping http://localhost:1841/ to ....
[INF] ------------------------------------------------------------------
[INF] Starting web server at : http://localhost:1841
[INF] ------------------------------------------------------------------
^C
D:\senchaSamples\sample_app>sencha web -port 8000 start
Sencha Cmd v5.1.1.39
[INF] Mapping http://localhost:8000/ to ....
[INF] ------------------------------------------------------------------
[INF] Starting web server at : http://localhost:8000
[INF] ------------------------------------------------------------------