Hi All
The DBTreeView bean does not stretch to the bottom in Browser as set in the anchor property. Has anyone else seen that as well? Please see Screenshot.
It does work in SmartClient.
Servoy 7.3.1
Browser: Safari, Firefox (tested)
Regards
Hi All
The DBTreeView bean does not stretch to the bottom in Browser as set in the anchor property. Has anyone else seen that as well? Please see Screenshot.
It does work in SmartClient.
Servoy 7.3.1
Browser: Safari, Firefox (tested)
Regards
this seems to working fine in the tree sample (servoy_sample_treeControl) shipped with Servoy.
can you provide us a sample where it is not working ?
Hi Gabi
Found out why it did not stretch. I have this line of code
elements.dbTreeView.setSize(200, 700);
which is overriding the DBTreeView anchors settings in Web Client (set to TOP, BOTTOM, LEFT). It does though not override the settings in Smart Client. Therefor behaves differently in Smart Client and Web Client.
I need this line to remove the vertical and horizontal sliders. It’s the only way I found to suppress (remove) the DBTreeView sliders. I would love to have a better way to do that. Any hint?
To make the DBTreeView stretch to the bottom on Web Client, I increased the height value.
Gabi Boros:
this seems to working fine in the tree sample (servoy_sample_treeControl) shipped with Servoy.
can you provide us a sample where it is not working ?
Regards,
Robert,
can’t you calculate and set the height when you attach a method to the ‘onResize’ event?
Marc,
Thanks for your hint. Yes, I could do what you suggest. I made it easy and used 1200 for height, assuming that’s the biggest vertical resolution of our customers displays. May be except Retina Displays of course Do you know what they report back when asking about resolution within Servoy?
I would like to see properties for controlling the vertical/horizontal sliders though, as using above mentioned statement is only a hack (the one we know to suppress sliders on DBTreeView). But of course this hack has no charme as french (and swiss say.
Regards and a good start into 2015,
mboegem:
Robert,can’t you calculate and set the height when you attach a method to the ‘onResize’ event?
huber:
May be except Retina Displays of course Do you know what they report back when asking about resolution within Servoy?
No exception here.
Although the technical size for a MacbookPro retina is 3840 x 2400, in my case I selected 1920 x 1200 to be the display size.
The latter is the one you will get reported.
Thanks, that’s what I thought but was not sure about.
mboegem:
huber:
May be except Retina Displays of course Do you know what they report back when asking about resolution within Servoy?No exception here.
Although the technical size for a MacbookPro retina is 3840 x 2400, in my case I selected 1920 x 1200 to be the display size.
The latter is the one you will get reported.