Opened 13 years ago

Closed 12 years ago

#1269 closed defect (wontfix)

FIshEyeMenu doesn't extend if it's to the right side of the Splitter

Reported by: alexander winkler Owned by: cal
Priority: blocker Milestone: 0.9
Component: Widgets Version: 0.3
Keywords: FishEyeMenu Cc:
Blocked By: Blocking:

Description

Hi!

I'll keep my description short and simple:

There is one Splitter, which contains two LayoutContainers?, which itself contain each a ContentPane?.

To both "sides" of the Splitter I added a Fisheyelist. On the left side, if you go to it with the mouse, it changes its size. the fisheyelist on the right side doesn't change at all, if you point at it with the mouse!

Seems like a bug!

Thanks for your help, Alexander Winkler

[CODE] <HTML> <HEAD> <TITLE>Widget1804289383</TITLE> <script type="text/javascript"> var djConfig = {isDebug: false, baseRelativePath: "../../../TriDAS/trigger/ts/ajaxell/extern/dojo/dojo-0.3.1-widget/"}; </script> <script type="text/javascript" src="../../../TriDAS/trigger/ts/ajaxell/extern/dojo/dojo-0.3.1-widget/dojo.js"></script> <script type="text/javascript"> dojo.require("dojo.event.*"); dojo.require("dojo.io.*"); dojo.require("dojo.widget.*"); dojo.require("dojo.widget.Button"); dojo.require("dojo.widget.ContentPane?"); dojo.require("dojo.widget.FisheyeList?"); dojo.require("dojo.widget.FloatingPane?"); dojo.require("dojo.widget.LayoutContainer?"); dojo.require("dojo.widget.SortableTable?"); dojo.require("dojo.widget.SplitContainer?"); dojo.require("dojo.widget.TabContainer?"); dojo.require("dojo.widget.Tree"); dojo.require("dojo.widget.TreeSelector?"); </script> <style type="text/css"> table { font-family:Lucida Grande, Verdana; font-size:0.8em; width:100%; border:1px solid #ccc; cursor:default; } table td, table th{ border-right:1px solid #999; padding:2px; font-weight:normal; } table thead td, table thead th { background:#94BEFF; } html>body tbody.scrollContent { height: 262px; overflow-x:hidden; overflow-y: auto; } </style> </HEAD> <BODY > <div dojoType="SplitContainer?" id="Wdgt846930886" style="width: 100%; height: 100%; " orientation="horizontal" sizerWidth="4" executeScripts="true" activeSizing="0" > <div dojoType="LayoutContainer?" id="Wdgt719885386" style="width: 100%; height: 100%; " layoutChildPriority="none" executeScripts="true" > <div dojoType="ContentPane?" id="Wdgt1649760492" layoutAlign="" executeScripts="true" > <div dojoType="FisheyeList?" id="Wdgt1681692777" itemWidth="40" itemHeight="40" itemMaxWidth="150" itemMaxHeight="150" orientation="horizontal" effectUnits="2" itemPadding="10" attachEdge="center" labelEdge="bottom" > <script type="text/javascript"> houseOnClickFunction=function() { dojo.io.bind({ url: 'http://gtswpc2.cern.ch:1972/urn:xdaq-application:lid=13/Default', content: {_id_:'house', _eventType_: 'OnClick?' } , handle: function(type, data, evt) { if (type=='error') alert('An error occured while sending the HTTP Request'); else if (type=='load') { } } }); }; </script> <div dojoType="FisheyeListItem?" id="house" onclick="houseOnClickFunction();" caption="" iconsrc="../../../TriDAS/trigger/ts/ajaxell/extern/icons/icons/house.png" > </div> <script type="text/javascript"> databaseOnClickFunction=function() { dojo.io.bind({ url: 'http://gtswpc2.cern.ch:1972/urn:xdaq-application:lid=13/Default', content: {_id_:'database', _eventType_: 'OnClick?' } , handle: function(type, data, evt) { if (type=='error') alert('An error occured while sending the HTTP Request'); else if (type=='load') { } } }); }; </script> <div dojoType="FisheyeListItem?" id="database" onclick="databaseOnClickFunction();" caption="" iconsrc="../../../TriDAS/trigger/ts/ajaxell/extern/icons/icons/database.png" ></div> <script type="text/javascript"> deleteOnClickFunction=function() { dojo.io.bind({ url: 'http://gtswpc2.cern.ch:1972/urn:xdaq-application:lid=13/Default', content: {_id_:'delete', _eventType_: 'OnClick?' } , handle: function(type, data, evt) { if (type=='error') alert('An error occured while sending the HTTP Request'); else if (type=='load') { } } }); }; </script> <div dojoType="FisheyeListItem?" id="delete" onclick="deleteOnClickFunction();" caption="" iconsrc="../../../TriDAS/trigger/ts/ajaxell/extern/icons/icons/delete.png" > </div> </div> </div> </div> <div dojoType="LayoutContainer?" id="Wdgt596516649" style="width: 100%; height: 100%; " layoutChildPriority="none" executeScripts="true" > <div dojoType="ContentPane?" id="Wdgt1189641421" layoutAlign="" executeScripts="true" > <div dojoType="FisheyeList?" id="Wdgt1681692777" itemWidth="40" itemHeight="40" itemMaxWidth="150" itemMaxHeight="150" orientation="horizontal" effectUnits="2" itemPadding="10" attachEdge="center" labelEdge="bottom" > <script type="text/javascript"> houseOnClickFunction=function() { dojo.io.bind({ url: 'http://gtswpc2.cern.ch:1972/urn:xdaq-application:lid=13/Default', content: {_id_:'house', _eventType_: 'OnClick?' } , handle: function(type, data, evt) { if (type=='error') alert('An error occured while sending the HTTP Request'); else if (type=='load') { } } }); }; </script> <div dojoType="FisheyeListItem?" id="house" onclick="houseOnClickFunction();" caption="" iconsrc="../../../TriDAS/trigger/ts/ajaxell/extern/icons/icons/house.png" > </div> <script type="text/javascript"> databaseOnClickFunction=function() { dojo.io.bind({ url: 'http://gtswpc2.cern.ch:1972/urn:xdaq-application:lid=13/Default', content: {_id_:'database', _eventType_: 'OnClick?' } , handle: function(type, data, evt) { if (type=='error') alert('An error occured while sending the HTTP Request'); else if (type=='load') { } } }); }; </script> <div dojoType="FisheyeListItem?" id="database" onclick="databaseOnClickFunction();" caption="" iconsrc="../../../TriDAS/trigger/ts/ajaxell/extern/icons/icons/database.png" ></div> <script type="text/javascript"> deleteOnClickFunction=function() { dojo.io.bind({ url: 'http://gtswpc2.cern.ch:1972/urn:xdaq-application:lid=13/Default', content: {_id_:'delete', _eventType_: 'OnClick?' } , handle: function(type, data, evt) { if (type=='error') alert('An error occured while sending the HTTP Request'); else if (type=='load') { } } }); }; </script> <div dojoType="FisheyeListItem?" id="delete" onclick="deleteOnClickFunction();" caption="" iconsrc="../../../TriDAS/trigger/ts/ajaxell/extern/icons/icons/delete.png" > </div> </div> </div> </div> </div> </BODY> </HTML> CODE

Change History (4)

comment:1 Changed 13 years ago by alexanderwinkler@…

Hi!

I'll keep my description short and simple:

There is one Splitter, which contains two LayoutContainers??, which itself contain each a ContentPane??.

To both "sides" of the Splitter I added a Fisheyelist. On the left side, if you go to it with the mouse, it changes its size. the fisheyelist on the right side doesn't change at all, if you point at it with the mouse!

It is definately a bug!

Thanks for your help in advance, Alexander Winkler

<HTML>
<HEAD>
<TITLE>Widget1804289383</TITLE>
<script type="text/javascript">
var djConfig = {isDebug: false, baseRelativePath: "../../../TriDAS/trigger/ts/ajaxell/extern/dojo/dojo-0.3.1-widget/"};
</script>
<script type="text/javascript" src="../../../TriDAS/trigger/ts/ajaxell/extern/dojo/dojo-0.3.1-widget/dojo.js"></script>
<script type="text/javascript">
dojo.require("dojo.event.*");
dojo.require("dojo.io.*");
dojo.require("dojo.widget.*");
dojo.require("dojo.widget.Button");
dojo.require("dojo.widget.ContentPane");
dojo.require("dojo.widget.FisheyeList");
dojo.require("dojo.widget.FloatingPane");
dojo.require("dojo.widget.LayoutContainer");
dojo.require("dojo.widget.SortableTable");
dojo.require("dojo.widget.SplitContainer");
dojo.require("dojo.widget.TabContainer");
dojo.require("dojo.widget.Tree");
dojo.require("dojo.widget.TreeSelector");
</script>
<style type="text/css">
table { 
font-family:Lucida Grande, Verdana; 
font-size:0.8em; 
width:100%; 
border:1px solid #ccc; 
cursor:default; 
} 
table td, 
table th{ 
border-right:1px solid #999; 
padding:2px; 
font-weight:normal; 
} 
table thead td, table thead th { 
background:#94BEFF; 
} 
html>body tbody.scrollContent { 
height: 262px; 
overflow-x:hidden; 
overflow-y: auto; 
} 
</style>
</HEAD>
<BODY >
<div dojoType="SplitContainer" id="Wdgt846930886" style="width: 100%; height: 100%; " orientation="horizontal" sizerWidth="4" executeScripts="true"
activeSizing="0" >
<div dojoType="LayoutContainer" id="Wdgt719885386" style="width: 100%; height: 100%; " layoutChildPriority="none" executeScripts="true" >
<div dojoType="ContentPane" id="Wdgt1649760492" layoutAlign="" executeScripts="true" >
<div dojoType="FisheyeList" id="Wdgt1681692777" itemWidth="40" itemHeight="40" itemMaxWidth="150" itemMaxHeight="150" orientation="horizontal" effectUnits="2" itemPadding="10" attachEdge="center" labelEdge="bottom" >
<script type="text/javascript">
houseOnClickFunction=function()
{
dojo.io.bind({
url: 'http://gtswpc2.cern.ch:1972/urn:xdaq-application:lid=13/Default',
content: {_id_:'house', _eventType_: 'OnClick' }
, handle: function(type, data, evt)
{
if (type=='error') alert('An error occured while sending the HTTP Request');
else if (type=='load') {
}
}
});
};
</script>
<div dojoType="FisheyeListItem" id="house" onclick="houseOnClickFunction();" caption="" iconsrc="../../../TriDAS/trigger/ts/ajaxell/extern/icons/icons/house.png" >
</div>
<script type="text/javascript">
databaseOnClickFunction=function()
{
dojo.io.bind({
url: 'http://gtswpc2.cern.ch:1972/urn:xdaq-application:lid=13/Default',
content: {_id_:'database', _eventType_: 'OnClick' }
, handle: function(type, data, evt)
{
if (type=='error') alert('An error occured while sending the HTTP Request');
else if (type=='load') {
}
}
});
};
</script>
<div dojoType="FisheyeListItem" id="database" onclick="databaseOnClickFunction();" caption="" iconsrc="../../../TriDAS/trigger/ts/ajaxell/extern/icons/icons/database.png" ></div>
<script type="text/javascript">
deleteOnClickFunction=function()
{
dojo.io.bind({
url: 'http://gtswpc2.cern.ch:1972/urn:xdaq-application:lid=13/Default',
content: {_id_:'delete', _eventType_: 'OnClick' }
, handle: function(type, data, evt)
{
if (type=='error') alert('An error occured while sending the HTTP Request');
else if (type=='load') {
}
}
});
};
</script>
<div dojoType="FisheyeListItem" id="delete" onclick="deleteOnClickFunction();" caption="" iconsrc="../../../TriDAS/trigger/ts/ajaxell/extern/icons/icons/delete.png" >
</div>
</div>
</div>
</div>
<div dojoType="LayoutContainer" id="Wdgt596516649" style="width: 100%; height: 100%; " layoutChildPriority="none" executeScripts="true" >
<div dojoType="ContentPane" id="Wdgt1189641421" layoutAlign="" executeScripts="true" >
<div dojoType="FisheyeList" id="Wdgt1681692777" itemWidth="40" itemHeight="40" itemMaxWidth="150" itemMaxHeight="150" orientation="horizontal" effectUnits="2" itemPadding="10" attachEdge="center" labelEdge="bottom" >
<script type="text/javascript">
houseOnClickFunction=function()
{
dojo.io.bind({
url: 'http://gtswpc2.cern.ch:1972/urn:xdaq-application:lid=13/Default',
content: {_id_:'house', _eventType_: 'OnClick' }
, handle: function(type, data, evt)
{
if (type=='error') alert('An error occured while sending the HTTP Request');
else if (type=='load') {
}
}
});
};
</script>
<div dojoType="FisheyeListItem" id="house" onclick="houseOnClickFunction();" caption="" iconsrc="../../../TriDAS/trigger/ts/ajaxell/extern/icons/icons/house.png" >
</div>
<script type="text/javascript">
databaseOnClickFunction=function()
{
dojo.io.bind({
url: 'http://gtswpc2.cern.ch:1972/urn:xdaq-application:lid=13/Default',
content: {_id_:'database', _eventType_: 'OnClick' }
, handle: function(type, data, evt)
{
if (type=='error') alert('An error occured while sending the HTTP Request');
else if (type=='load') {
}
}
});
};
</script>
<div dojoType="FisheyeListItem" id="database" onclick="databaseOnClickFunction();" caption="" iconsrc="../../../TriDAS/trigger/ts/ajaxell/extern/icons/icons/database.png" ></div>
<script type="text/javascript">
deleteOnClickFunction=function()
{
dojo.io.bind({
url: 'http://gtswpc2.cern.ch:1972/urn:xdaq-application:lid=13/Default',
content: {_id_:'delete', _eventType_: 'OnClick' }
, handle: function(type, data, evt)
{
if (type=='error') alert('An error occured while sending the HTTP Request');
else if (type=='load') {
}
}
});
};
</script>
<div dojoType="FisheyeListItem" id="delete" onclick="deleteOnClickFunction();" caption="" iconsrc="../../../TriDAS/trigger/ts/ajaxell/extern/icons/icons/delete.png" >
</div>
</div>
</div>
</div>
</div>
</BODY>
</HTML>

comment:2 Changed 13 years ago by dylan

Milestone: 0.5

comment:3 Changed 13 years ago by dylan

Owner: changed from bill to cal

comment:4 Changed 12 years ago by bill

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.