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
-1
votes
2 answers

How do I add a floating UIButton to Table View Controller in Xcode?

I am trying to add a 'close' button to a table view controller page that is displayed via popup. I just want the x (close) button to remain in the top left corner when the user scrolls down through the page. I have found code to add the floating…
DJL
  • 61
  • 7
-1
votes
1 answer

How to have a floating modal controller on top of another controller and have interaction with them at the same time

I want to know what is best approach for having a floating modal controller on top of another controller like this image: As you see, top section of this page is a modal view. I can implement this top view in the below controller class but I want…
Ahmadreza
  • 6,950
  • 5
  • 50
  • 69
-1
votes
2 answers

STM32 floating point number calculation error

I have to perform a calculation with 2 floating point numbers using measurements taken from a distance sensor with STM32. Calculation is carried out by following equation; result = (df-ds)/ds*10000; where df is first measurement and ds is second…
Teo Laferla
  • 41
  • 1
  • 7
-1
votes
2 answers

Python, Float Recording Text File, Loading Floats and average them

i have biological floats and want to save them in a Text file, and then load and make average them. This Floats about : 0.12 0.23 0.30 0.21 .. .. .. This will be saved in Text file. Average of Floats will be showed in Label.
Emre Zengin
  • 1
  • 1
  • 4
-1
votes
1 answer

The difference between number formatting/floating points in php and c++

Maybe the title isn't what it should, or maybe its a duplicate, but either way,i'm stuck and couldnt find the right answer here or anywhere else. I`m used to php, and recently started learning c++. I need to convert a php loop that loops trough a…
Esocoder
  • 1,032
  • 1
  • 19
  • 40
-1
votes
1 answer

How to customize Floating-ArcMenu (satellite menu option)

I want to implement arc-menu in my android app. I'm using ArcMenu Lib Here is screenshot But I want Ui like this Is there anybody customize this library.
-1
votes
1 answer

how to use floating search view with a list view loaded by json?

I load a list view using json ,this is work fine.Now i want to add a floating search view to this list .I dont know how use it correcte and how to implement my own searchable function.can you some one help me. this is my code in main activity…
khouloud
  • 1
  • 8
-1
votes
1 answer

How to put a Floating action button on all screens in Android

I have a requirement to put a floating action button on all screens of the application. I don't define all layout files, instead there any way I can generate dynamically and visible on all screens of the application.
-1
votes
1 answer

VB6 floating point computation issue

This is floating point computation issue (i think). This is 2 round function i found somewhere. They look very similar in code but when i run it, i get 2 different result. In this example when run this code with value is 87.13225 and precision 4…
Thinh Vu
  • 3,036
  • 1
  • 12
  • 8
-1
votes
1 answer

How to force div to fill empty space on left side of another, higher div

Please look at the example below. I'm trying to put my yellow div under red div and on the left side of bottom half of green. If i use clear: left it will jump down, but it lefts empty space above. I want it to fill this space. Here's…
Arthi
  • 1
-1
votes
2 answers

Android Activity transparent background

I have a pretty common requirement. I have an Activity that needs to appear Full-screen on Mobile Devices (Size-Normal), and as a Dialog on Tablet Devices(Size-Large and Size-XLarge). In both the formats, I have UI-Widgets displayed in the…
AndroidRocks
  • 292
  • 4
  • 16
-1
votes
2 answers

Float value showing incorrectly

When I wrote a simple program to read and print a number using float, I came across some unexpected results. In the following program when I entered a number 100.62, the result I got was 100.620003. Only upto eight digits the value showed…
-1
votes
3 answers

CSS float will not work

I have a REALLY weird situation with CSS on http://bit.ly/1Hwbn94 So, I want to have the red div with the title (title) right of the green box with the (later hidden) mobile menu button, but those two divs just keep to stay beneath each other. Also,…
vega
  • 127
  • 3
  • 12
-1
votes
1 answer

Floated divs not sitting flush

I'm trying to get the portfolio images in the work section of my site to sit flush with no spacing. Right now there is around 3px spacing underneath each image. I think its the containing div.work_thumb which is causing it but I'm not sure. I don't…
kyleskelly
  • 61
  • 4
-1
votes
1 answer

floating menu dropdown doesn't show

I have a problem with my dropdown or submenu. It worked perfectly fine before, but after I changed my menu to be floating, the submenu won't show anymore. this is the code I used for menu: border-bottom:2px solid…
Maryam S
  • 23
  • 9