Is it possible to pin the bokeh toolbar so it doesn't scroll? - toolbar

My bokeh figure has 60 plots arranged on a gridplot layout with 2 columns, 30 rows. Even with a large screen, the typical user must scroll through the figure to see plots lower down on the page.
The toolbar, which is common to all plots, sits along the right edge (i.e., toolbar_location='right').
Is it possible to "pin" the toolbar so that, as the user scrolls to the lower plots, the toolbar remains visible and accessible always?

As of version 0.13 (and upcoming 1.0) there is nothing built-in to accomplish this. It's possible you could embed your gridplot in a custom template, and add your own CSS rules to cause the toolbar to float, but I don't know how to advise you on the specifics of how to do that. Alternatively, you can set merge_tools to False when you call gridplot, which will cause every individual plot to have its own toolbar, instead of creating a single "merged toolbar".

Related

QGRID: Is it possible to enable a left-right scrollbar when displayed in Jupyter notebook?

I checked the qgrid documentation, which is based on the SlickGrid library. The SlickGrid grid options do not show something. However it seems odd that a web based library would not allow scrolling left or right if all of the data does not fit within the current view. As you can see below, my dataframe has 95 columns and only 10 are visible, with no scrollbar top access the other ones.
thx

Blank regions on electron(node.js) window

I've used Electron 1.6.11 with Node 8.4 to develop a desktop application.
this is how my main window normally looks like:
but sometimes some parts of window will overlays with blank regions for no apparent reason. like this:
This blank regions will go away if i click one of buttons or resize the form, or anything that make it render again(i guss).
Also, this blank regions only appears on that left side of form.
Im using CSS grid to arrange my components, could it be because of that?
Any suggestion is appreciated

Custom image placement on map

i've got 40 images. I want to place them on a grid (or at specific location on a map). The fact that imageA is in point [0,0] depends on some info from the user actually logged in.
Which means, for user1, he will see in [0,0] the imageA, and for user2 he could see in [0,0] imageC.
That could be done with some css, but the problem is, all those images are supposed to be part of a map. So users can zoomin/out/pan, managing click on specific area etc...
My first though would be using leaflet with transparent tiles. My 40 images could be 40 imageoverlays placed on the map. But that would be pretty rough to adjust sizing, and it would require to have 40*4 images (if i want 4 levels of zoom). Something like generating my imageA in 1000*1000, 500*500, 250*250, 125*125 and hope thats actually the good sizing.
Do you have any idea (not specificaly on leaflet) how could i achieve that ?
If you don't want your images to scale, then it sounds like your grid is based off the viewport? In which case, using html/css to handle things sounds like the best option.
Otherwise, you can consider using InfoWindows. You can have an image within the InfoWindow. The location on the map will stay the same and the size of the window should not scale with the zoom either.

Use scrollbars for the display of a continous form in Microsoft Access2007

I have a continuous form with many control elements ordered in two columns. The form is opened with the WindowMode 'acDialog'.
When I take a look at this form at my desktop computer there is no problem. But I want to use the application also on my laptop. When I open the form on my laptop, I only see the first entries, but not the others anymore. Unfortunately I havent found an opportunity to use scrollbars in my form.
What I have found is this (did not work):
Add or remove scrollbars
Edit:
The View should look like:
but on my laptop it looks like:
So I want to have scrollbars. The scrollbar property is set to both directions.
Edit 20121126, the design view. The blue part is header, the txts are in the detail view and the buttons are in the footer:
This problem has stumped me before. Access is not smart enough to realize if the screen is set to a different 'zoom' than 100%. So Access is thinking that the entire form is on your screen when really it is not.
This really only applies if you have Windows 7 and maybe 8, but I have no idea about that. If you go to your display property (right click the desktop and select 'Personalize' then Display in the lower left-hand corner of the pop-up.)
If you are not set at 100% then access is missing 25-50% of your screen. access goes off of pixels, which is set in the resloution, but when using 125% Windows expands everything by 25% and that can push things right off the screen. The form does not need scroll bars to fit on your screen, just need to set your zoom to 100%.
I found this out by having a 'control bar' set to be x-250 pixels from the left (where x is total left to right pixels). However one computer could never see the control bar and it was because the screen was +125%. I have never been able to figure out how to get the current 'zoom' from Windows. I have searched through all manner of API's. I hope this is the solution you were looking for! Good Luck!!

should I use Navigator or View State?

Hi I want to create an application has this sort of function:
http://looklet.com/create
In this application when you click the button (or some tilelist) on the right the model on the left update accordingly. I wonder how they achieve this. Originally i think it's some sort of image-only pop-up window but then pop-up window seems to update the entire view.
Then I think it might be only change view state, but then I still confused how it can be done using view state.
Flex expert please give me some hint !
Looks like transparent images drawn on Canvas. Each piece must have predefined offset and draw order.
Probably just images placed on one or more Canvas, with the z-order controlled for depth.
The body stays the same, so shirts probably have their own placement properties, as do skirts, underwear, hosiery, etc. as well as backgrounds, faces, etc.

Resources