PDA

View Full Version : [CLOSED] Scroll bars hiding tooltip



rmelancon
Feb 04, 2015, 4:11 PM
I have a button at the bottom of a window with a tooltip. When activated, the scrollbars for the window cover up the tooltip. I couldn't find anything on manually positioning the tooltip. I need the scrollbars in the real world scenario so simply turning them off isn't an option. The temporary fix is to put a big margin at the bottom, but I'd prefer a better solution. Thanks.



<%@ Page Language="vb" %>
<script runat="server">

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not IsPostBack AndAlso Not Ext.Net.X.IsAjaxRequest Then
End If
End Sub

</script>


<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>Simple Problem</title>
<script type="text/javascript">
</script>
</head>
<body>

<ext2:ResourceManager ID="ResourceManager" runat="server" />

<ext2:Window ID="Window1" runat="server" Visible="true" maximized="true" Padding="5" Resizable="true" Closable="false">
<Items>
<ext2:Panel ID="pnlSetDefaults" runat="server">
<Items>
<ext2:ComboBox id="cmbSuper" runat="server" FieldLabel="Simple combo" LabelWidth="175" ValueField="value" DisplayField="text" >
</ext2:ComboBox>
</Items>
</ext2:Panel>
</Items>
<BottomBar>
<ext2:Toolbar ID="Toolbar1" runat="server">
<Items>
<ext2:Button ID="btnSave" runat="server" Text="Save " Icon="Disk" ToolTip="This tooltip causes the scroll bars to cover the tips" >
</ext2:Button>
<ext2:ToolbarFill ID="ToolbarFill1" runat="server"></ext2:ToolbarFill>
</Items>
</ext2:Toolbar>
</BottomBar>
</ext2:Window>

</body>
</html>

Daniil
Feb 04, 2015, 4:58 PM
Hi @rmelancon,

Please try this:

<ext:Button runat="server" Text="Save">
<ToolTips>
<ext:ToolTip runat="server" Anchor="right" Html="This tooltip causes the scroll bars to cover the tips" />
</ToolTips>
</ext:Button>

rmelancon
Feb 04, 2015, 6:11 PM
Works great, thanks.