[CLOSED] Desktop cosmetic problem, no urgencecy for now

  1. #1

    [CLOSED] Desktop cosmetic problem, no urgencecy for now

    Hello

    Me and my client preffer the old style desktop of Ext.Net 1.3. I dig into taskbar css but was not able to find how to change start button or the taskbar look. Is there a way to achieve that (I don't know, a theming thing for example)?
    Last edited by Daniil; May 24, 2012 at 8:04 AM. Reason: [CLOSED]
  2. #2
    Hi,

    Desktop TaskBar has been totally reworked, now it's just a Toolbar and nested Toolbars. So, there is no option to get the old-style view back.

    But, certainly, you can stylize via CSS.

    Here is some example which, hopefully, should help you to start.

    Example
    <%@ Page Language="C#" %>
    
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    
    <!DOCTYPE html>
        
    <html>
    <head runat="server">
        <title>Ext.NET v2 Example</title>
    
        <style type="text/css">
            .my-taskbar {
                background-color: blue;
                background-image: none;
            }
            
            .my-taskbar .ux-start-button .x-btn-inner {
                color: white;    
            }
            
            .my-taskbar .ux-start-button-icon {
                background-image: url(resources/images/test.png) !important;
            }
        </style>
    </head>
    <body>
        <ext:ResourceManager runat="server" /> 
    
        <ext:Desktop ID="Desktop1" runat="server">
            <Modules>
                <ext:DesktopModule ModuleID="DesktopModule1" AutoRun="true">
                    <Window>
                        <ext:Window runat="server" Title="Greeting" Html="Hello!" Closable="false" />
                    </Window>
                </ext:DesktopModule>
            </Modules>    
            <TaskBar runat="server" Cls="my-taskbar" HideQuickStart="true">
                <CustomConfig>
                    <%-- We will add a respective property for TaskBar --%>
                    <ext:ConfigItem Name="startBtnText" Value="Hello!" Mode="Value" />
                </CustomConfig>
            </TaskBar>
        </ext:Desktop>
    </body>
    </html>
    On your site I would also look at:
    <Ext.Net.2 sources root>\Ext.Net\Build\Ext.Net\ux\desktop\js\TaskBar. js

    You will understand better how it works.
  3. #3
    Hello

    Thanks for your reply. Now, I know where to search.

Similar Threads

  1. Desktop: wallpaper problem
    By heysol in forum 1.x Help
    Replies: 1
    Last Post: Dec 29, 2017, 3:52 PM
  2. [CLOSED] This tim this is a cosmetic problem (CSS inside)
    By feanor91 in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: Apr 23, 2012, 4:15 PM
  3. [CLOSED] Desktop problem & question
    By Stefanaccio in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Mar 08, 2011, 11:47 AM
  4. [0.82] Desktop view problem in IE
    By taonylu in forum Bugs
    Replies: 5
    Last Post: Nov 24, 2010, 8:54 AM
  5. Desktop Problem
    By snouto in forum 1.x Help
    Replies: 1
    Last Post: May 24, 2010, 10:44 AM

Tags for this Thread

Posting Permissions