Questions tagged [floating]

This tag is related to GUI elements that either should be or appear to be floating above a panel or background, or in case of certain types of general layout.

This tag is related to GUI elements that either should be or appear to be floating above a panel or background, or in case of certain types of general layout.

800 questions
4
votes
5 answers

WPF - Create a floating animated clickable control (image or...)

I want create a floating animated clickable control like a helium balloon that moves sometimes to right or left too in my WPF application. The helium balloons likes go up! but also they moves right or left if we tap on them or by wind. In…
Ramin Bateni
  • 16,499
  • 9
  • 69
  • 98
4
votes
0 answers

Floating NSWindow steals focus

I'm trying to make an app that sort-of functions like the spotlight search that was demonstrated on WWDC. I managed to get it to the floating level with kCGFloatingWindowLevelKey, however the window steals the focus from whatever window was…
hannesr
  • 449
  • 5
  • 12
4
votes
4 answers

Floating app on Android (Windowed app)

Does anyone know how I can create a floating window? (Image below shows what I mean) - source code I've read on various websites that in order to do so an app must be running as a service which should in turn be running as an activity using…
olfek
  • 3,210
  • 4
  • 33
  • 49
4
votes
1 answer

Avoid code-chunks from breaking in Knitr? ( preferably using a chunk option )

Using knitr to create a pdf, codechunks break according to page breaks. Usually this is exactly what I want, but in some cases I would like to be able to avoid this. E.g. by making a code-chunk jump to the next page if it does not fit the current…
Rasmus Larsen
  • 5,721
  • 8
  • 47
  • 79
4
votes
3 answers

How to make a floating menu appear after you scroll past a certain point?

I want to make four menu tabs appear after you scroll past a certain point (ex: 1000px) on the page. I want them to slide in from left to right when they appear. This is what I'm going for, but on the left side of the browser. Any input is…
JonnyBravo
  • 55
  • 1
  • 1
  • 6
4
votes
1 answer

Vertical-floating elements in CSS?

Is there any solution for my problem, described in this image? I have a DIV-tag with a fixed height. In this element, i have a List. This List should be floated like columns. The list-elements have a fixed width. if there are "too much" elements in…
andi
  • 43
  • 3
4
votes
1 answer

Android WebView CSS float

Our team is really struggeling right now. We got a customer and he is giving us some HTML files. In these HTML files there is some text and an image, floated right with a width of 50%. On a mobile it works great and on most tablets too, but not on…
sk2andy
  • 749
  • 1
  • 8
  • 19
4
votes
1 answer

tinymce toolbar floating toolbar

I have created an external floating toolbar for tinymce with jQuery. tinyMCE.init({ ... theme_advanced_toolbar_location : "external", theme_advanced_toolbar_align : "left", theme_advanced_statusbar_location : "top", …
todd
  • 41
  • 3
4
votes
3 answers

vertical align text near a floating div

like in the title i can't put some text centered vertically near a div with CSS, i searched on google and on stackoverflow so i decided to make a question here. This is an example of what i need done with Paint: I tried display table cell and box…
4
votes
1 answer

Floating li into a grid pattern leaves undesired spacing

At the very high level, this is my HTML:
  • Item1
  • Item2
  • ...
  • Item21
and this is my CSS: li { display: block; float: left; margin: 0.3em; padding: 2px; max-width: 10em; min-width: 10em; …
4
votes
0 answers

Floating menu on top of all apps

I want to make a menu floating above all applications. I did see this question: Creating a system overlay window (always on top) but I want it to be functional in ICS too. There is an app, GameCIH, that has such an interface, supporting touch in…
RE6
  • 2,684
  • 4
  • 31
  • 57
3
votes
1 answer

Disable application activation on window click

In my Cocoa/Objective-C application I have a utility panel floating "always on top" to be accessible even when my application is not active. I am trying to disable the "switching to my application when a user clicks on that panel". The behaviour I…
3
votes
2 answers

Are %f and %lf interchangeable when using printf?

In an article on the w3resource.com, I've seen the following code: double x, y; pr1 = sqrt(pr1); x = (-b + pr1)/(2*a); y = (-b - pr1)/(2*a); printf("Root1 = %.5lf\n", x); printf("Root1 = %.5lf\n", y); The article says to take three floating-point…
Anik Sen
  • 31
  • 3
3
votes
1 answer

TYPE_APPLICATION_OVERLAY make keyboard can't appearing

i got a struggle with my apps, i'm planned to add floating text in my apps im using this code: wmParams = WindowManager.LayoutParams( WindowManager.LayoutParams.MATCH_PARENT, WindowManager.LayoutParams.MATCH_PARENT, if…
3
votes
3 answers

Transparent, floating Android Activity doesn't allow updates to content behind it

I have tried and tried to get a transparent, floating Activity to show up (as an overlay), but allow whatever is behind it to still show AND update. Right now it seems that if the Activity behind mine is closed or a new one opens (could be either in…
Jesta
  • 1,387
  • 2
  • 9
  • 9