How to change the width of your application.

How to change the width of your application.

There's 2 main way's of changing the width of the application.

1. The first one is the more intuitive option, first go to Layout on your application side menu and click on Pages


1.1. In this screen you shall see the minimum and maximum tab width's field, choose a value that suits you and that's it:


2. The second method is a bit more less intuitive, first, you may enter your application and look for the area you want to change:


2.1. Mine is rather thin, i want to make it a the size of the screen. For that we'll have to click with de RMB and click on Inspect:



2.2. You need to find your applications class, just like this:



2.3. My class is called "scFormBorder", and with that go to Events > OnScriptInit, on your side menu:


2.4. Now you may type this code:



2.5. Mine will look like this:


2.6.  You can change your pixels value freely, until you find a perfect fit.


2.7. This is the final result:



    • Related Articles

    • How to change the application's state in run time

      To change the properties of application execution, changing their form of execution than initially planned, Scriptcase has a macro called sc_apl_conf. The macro should be used as follows: sc_apl_conf ( Application , property , value ) ; So, we can ...
    • How to change the log module table

      After creating the Scriptcase log module, it is possible to change the table. When making this change, a new table will be created from scratch with no records. The records in the previous table must be migrated to your database. How to edit log ...
    • Dynamically change the theme of a project with the sc_set_theme macro

      Scriptcase provides macros, functions created by the developers of Scriptcase, which will assist in customizing applications as well as simplifying code editing at events. In this article, we will see how to use the sc_set_theme macro in practice, to ...
    • Update of the security module synchronization application

      In order to improve security in our projects, we made several changes to the application files. One of these changes affected a crucial file that tells applications how to sync. To ensure that the synchronization continues to work correctly, we made ...
    • Change user "admin" permissions

      Many times it happens that we modify the permissions of the admin user, and when wanting to verify some configurations or when wanting to modify some characteristics of the ScriptCase we can not have access since the permissions were changed. So what ...