[CLOSED] Task bar text

  1. #1

    [CLOSED] Task bar text

    If you look at the attached screen shot the text in task bar is truncated even though the bar has more space to display rest of the text.How do i fix this ? Thanks.
    Attached Thumbnails Click image for larger version. 

Name:	taskbar.jpg 
Views:	231 
Size:	92.5 KB 
ID:	2201  
    Last edited by Daniil; Jan 21, 2011 at 3:45 PM. Reason: [CLOSED]
  2. #2
    Hi,

    How we can reproduce the issue? Could you provide a sample?

    The issue doesn't appear under IE6, IE7, IE8 in the following page:

    Example
    <%@ Page Language="C#" %>
    
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title>Ext.Net Example</title>
    </head>
    <body>
        <form runat="server">
        <ext:ResourceManager runat="server" />
        <ext:Desktop ID="Desktop1" runat="server" BackgroundColor="black">
            <StartButton Text="Some looooooooooong text"/>
            <Modules>
                <ext:DesktopModule ModuleID="DesktopModule1" WindowID="DesktopWindow1" />
            </Modules>
            <Shortcuts>
                <ext:DesktopShortcut ModuleID="DesktopModule1" Text="Shortcut" />
            </Shortcuts>
            <StartMenu>
                <Items>
                    <ext:MenuItem Text="DesktopWindow1">
                        <Listeners>
                            <Click Handler="DesktopWindow1.show();" />
                        </Listeners>
                    </ext:MenuItem>
                </Items>
            </StartMenu>
        </ext:Desktop>
        <ext:DesktopWindow ID="DesktopWindow1" runat="server" Title="DesktopWindow" />
        </form>
    </body>
    </html>
  3. #3
    
    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="CooliteDemo._Default" %>
    
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head id="Head1" runat="server">
        <title>BlueprintOnline</title>
        <style type="text/css">
            #ux-taskbar-start, #TaskBarStart-xsplit
            {
                display: none;
            }
            .start-button
            {
                background-image: url(vista_start_button.gif) !important;
            }
            .icon-AddressBook
            {
                background-image: url(resources/images/address_book_btn_off.png) !important;
                background-repeat: no-repeat;
                background-position: center bottom;
                filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="resources/images/address_book_btn_off.png");
            }
            .desktopEl
            {
                position: absolute !important;
                background-color: black;
            }
            .desktopEl1
            {
                position: absolute !important;
            }
            .desktopElText
            {
                color: #4dc8e9;
                font-size: medium;
                font-weight: bold;
            }
        </style>
    </head>
    <body>
        <form id="DefaultForm" runat="server">
        <ext:Hidden ID="ShowPermissions" runat="server" />
        <ext:Hidden ID="ShowAnnouncements" runat="server" />
        <ext:ResourceManager ID="ResourceManager1" DirectMethodNamespace="BPOLX" runat="server"
            RethrowAjaxExceptions="true" Theme="Slate">
        </ext:ResourceManager>
        <ext:Desktop ID="MyDesktop" runat="server" BackgroundColor="Black" ShortcutTextColor="White">
            <Modules>
                <ext:DesktopModule ModuleID="DesktopModule7" WindowID="winAnnouncement">
                    <Launcher ID="Launcher1" runat="server" Text="Announcement" Icon="UserTick" />
                </ext:DesktopModule>
            </Modules>
            <Shortcuts>
                <ext:DesktopShortcut ModuleID="DesktopModule7" X="100" Y="270" IconCls="shortcut-icon icon-AddressBook" />
            </Shortcuts>
        </ext:Desktop>
        <ext:DesktopWindow ID="winAnnouncement" runat="server" Title="Announcements" Icon="SoundOut"
            PageX="25" PageY="25" Maximizable="false" Layout="Fit">
            <Items>
                <ext:Panel ID="pnlAnnouncement" runat="server" />
            </Items>
            <Listeners>
                <BeforeRender Handler="this.setSize(600, 460);" />
            </Listeners>
            <DirectEvents>
                <BeforeShow OnEvent="ShowAnnouncementControl" />
                <BeforeHide OnEvent="HideAnnouncementControl" />
            </DirectEvents>
        </ext:DesktopWindow>
        </form>
    </body>
    </html>
  4. #4
    Now I see the problem.

    We are working on a solution for this. We will let you know when it will appear.
  5. #5
    Hi,

    Feature request ticket has been created.
    https://extnet.lighthouseapp.com/pro...res/tickets/68

    Added .TextLengthToTruncate for Desktop to get a possibility to avoid truncating of TaskButton text.
    Revision #3415

    After update from SVN the following example will work as you need.

    Example
    <%@ Page Language="C#" %>
     
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"      
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title>Ext.Net Example</title>
    </head>
    <body>
        <form runat="server">
        <ext:ResourceManager runat="server" />
        <ext:Desktop runat="server" BackgroundColor="black" TextLengthToTruncate="20">
            <Modules>
                <ext:DesktopModule ModuleID="DesktopModule1" WindowID="DesktopWindow1" AutoRun="true" />
            </Modules>
            <Shortcuts>
                <ext:DesktopShortcut ModuleID="DesktopModule1" Text="Shortcut" />
            </Shortcuts>
            <StartMenu>
                <Items>
                    <ext:MenuItem Text="DesktopWindow1">
                        <Listeners>
                            <Click Handler="DesktopWindow1.show();" />
                        </Listeners>
                    </ext:MenuItem>
                </Items>
            </StartMenu>
        </ext:Desktop>
        <ext:DesktopWindow ID="DesktopWindow1" runat="server" Title="Tooooooo long title" />
        </form>
    </body>
    </html>

Similar Threads

  1. [CLOSED] Paging Option in Task
    By speedstepmem3 in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: May 24, 2012, 1:13 PM
  2. [CLOSED] Task error
    By majestic in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Oct 27, 2010, 7:52 AM
  3. [CLOSED] Task manager
    By majestic in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Sep 07, 2010, 5:15 PM
  4. task
    By wdjlover in forum 1.x Help
    Replies: 8
    Last Post: Jun 17, 2009, 11:56 PM

Tags for this Thread

Posting Permissions