Questions tagged [visibility]
Visibility is an attribute of an object. It may refer to the concept of having something visible (or not) on the graphical interface, or a symbol visibility in linkage. This tag should not be used in place of the more specific tags [memory-visibility] or [class-visibility].
visibility
3,192
questions
30
votes
4
answers
156k
views
Make one div visible and another invisible
I have two div tags, one is for the search and the other is for the results. What I need is for when the submit button is clicked the results are returned and placed into the results div (with an ...
30
votes
13
answers
51k
views
android setVisibility does not display if initially set to invisble
I have a glsurface occupying the full screen. At the click of a button I want another layout to appear (settings type of thing). If I start with the overlay being visible, I can make it invisible and ...
30
votes
3
answers
28k
views
MultiDataTrigger with OR instead of AND
I am trying to set multiple DataTriggers on my Button. I did some research and found that MultiDataTrigger allows you to do this. I want the Visibility property of my Button to be set to false if the ...
30
votes
2
answers
11k
views
Do I need volatile for variables of reference types, too?
We often use volatile to ensure that a condition variable can be visible to every Thread.
I see the volatile fields are all primitive type in code so far.
Does object field has this problem? For ...
30
votes
5
answers
44k
views
Open a Workbook with XLWINGS without making it visible
I am starting to use XLWings (not that I like Excel, at all, but it is something I HAVE TO do). The thing is that I cannot find the way to make Python open a Workbook without showing it.
It seems the ...
29
votes
3
answers
46k
views
Check if all children elements are hidden
I'm a bit stuck here with my script:
Its a checkbox filtering all .notme images and hiding it's list items.
The problem is now I cant get a working callback function for the fadeToggle.
It should ...
29
votes
5
answers
50k
views
Animate visibility of a view from gone to visible with animation
I have a view that is invisible by default(Just for the first time).
Now I need to switch the visibility to VISIBLE with this animation:
if (myView.getVisibility() == View.INVISIBLE) {
myView....
29
votes
6
answers
102k
views
JQuery Visible Show
I have the following code:
$('#loading').css("visibility", "visible");
$('#loading').show();
For some reason unknown to me when I use the CSS it works!
But when I use .show();
It does not work. ...
29
votes
2
answers
11k
views
Scala final vs val for concurrency visibility
In Java, when using an object across multiple threads (and in general), it is good practice to make fields final. For example,
public class ShareMe {
private final MyObject obj;
public ...
28
votes
5
answers
30k
views
Programmatically set google map fragment visibility (API2)
xml:
<fragment xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/mapFragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
class="com....
27
votes
13
answers
55k
views
How can I check that an element is visible with Puppeteer and pure JavaScript?
I wish to check that a DOM element is visible with Puppeteer and pure JavaScript (not jQuery), how can I do this? By visible I mean that the element is displayed through CSS, and not hidden (f.ex. by ...
27
votes
5
answers
8k
views
Objects visibility
I've done a lot of search but can't find the difference between tools:visibility = "visible" and android:visibility = "visible" ? Which situation I must use tools or android?
27
votes
3
answers
949
views
Why is the data array in java.util.ArrayList package-private?
In the java.util.ArrayList class, the object array for the list's elements is defined as package-private:
transient Object[] elementData; // non-private to simplify nested class access
The comment ...
26
votes
2
answers
14k
views
Why is the extension of my Swift class not visible outside the defining file?
I have an Xcode-generated NSManagedObject class for my CoreData model.
@objc(SomeClass) class SomeClass : NSManagedObject { /* ... */ }
It is defined in a file named 'SomeClass.swift'. I would like ...
26
votes
5
answers
60k
views
Always visible div while scrolling
On my aspx page, I have two left and right portions. I want to show always left side (which is actually a 'div' containig treeview) while scrolling the right side (which are actual contents of page). ...