Skip to main content
The 2024 Developer Survey results are live! See the results

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
0 votes
1 answer
695 views

how to unhide a hidden div with bootstrap

I'm working on a site built on bootstrap and have a column down the right side that contains a search module and some other things. it gets hidden on smaller screens. I'm hoping to restore just the ...
Joe's user avatar
  • 19
0 votes
1 answer
816 views

Can functions with the onlyOwner modifier be called by the owner if they are set with visibility external instead of public?

I have some functions that I'm trying to save gas on. onlyOwner modifier is self explanatory. This is related to a previous question that I had, where I noticed that address(this) is different from ...
Ashraile's user avatar
0 votes
1 answer
674 views

My visibility condition in SSRS caused "[BC30516] Overload resolution failed because no accessible 'IIf' accepts this number of arguments." error

I am using the following expression for a row visibility rule: =IIF(Sum(Fields!bt_actual_usage.Value) > 0 AND (Count(Fields!bt_actual_usage.Value) < Parameters!Consecutive.Value)), true, false) ...
Eugene Berkovich's user avatar
1 vote
0 answers
676 views

React Native: How do I change the scroll position of a ScrollView when the element is not visible?

I have a horizontal FlatList which renders a list of vertical ScrollView cards. When I scroll the FlatList, I would like the ScrollView cards to reset their scroll position to the top. I do not want ...
Thomas's user avatar
  • 11
0 votes
1 answer
1k views

How to remove white space on website from SVG symbol at botton of index.html

On youtube I learned how to place my SVG code inside a elements at the bottom of my index.html and whenever I want to use the SVG then I would use the tags. Doing this makes sure that my code ...
Tony Stark's user avatar
0 votes
1 answer
325 views

Make element visible when Validation.HasError is true

I have the following xaml markup: <GroupBox Margin="10" Padding="20" Header="Case 5 - Custom Error Object"> <GroupBox.DataContext> ...
vso's user avatar
  • 21
0 votes
0 answers
195 views

Weird behaviour regarding visibility of symbols in C++

I was trying to hide all symbols in a shared object file except for a certain selection The hiding part I was doing via -fvisibility=hidden compiler option The exception part I was doing via ...
Ivan Lazaric's user avatar
1 vote
1 answer
380 views

How can I show a Visibility widget based on multiple conditions?

I'm building a restaurant menu app and one of the features of the menu is to allow the users to pick their allergies so the app will turn the menu items containing those allergenics unclickable. bool ...
HG Florence Tours's user avatar
6 votes
1 answer
2k views

How to import/use macro from different module in the same crate?

Real life scenario: I wanted to use crate::app::verbose_trace!("string literal") inside crate::app::args::parse module. Reproducable scenario: After an hour of attempts, I came with ...
Siiir's user avatar
  • 340
0 votes
1 answer
240 views

'void android.widget.LinearLayout.setVisibility(int)' on a null object reference when i want to display a LinearLayout

I have a problem with a button that modifies the visibility of a LinearLayout I always get the error java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.LinearLayout....
11itachikun's user avatar
-2 votes
1 answer
373 views

How do i make it so that if a key is pressed, an action is done permanently?

I've got into game development, and I decided to choose Godot as the game engine because C# was supported, and I knew the language. I've been working on a simple game, and at some point, I ran into a ...
George's user avatar
  • 93
0 votes
1 answer
66 views

document.getElementById('facebook').style.visibility="hidden" not working

Even thought my variables are set in a way that should set the visibility to hidden (pulling the variables from firebase), they remain visible. My code no go. See Firebase Variable Values <html> ...
Jake Labate's user avatar
3 votes
2 answers
945 views

How to hide the VS Code bar with file name, breadcrumbs, and action buttons?

I'd like to hide the toolbar visible in the screenshot: I can hide the menu bar by going into full-screen mode, but I haven't been able to get rid of the bar with the file name, run button, split, ...
Jacob's user avatar
  • 31
0 votes
0 answers
35 views

Why dllexport-ing a class with a method also exports the a symbol used by that method, even if it's not dllexport-ed itself?

Take a source file like this: namespace detail { inline int helper() { return 1; } } struct __declspec(dllexport) Foo { int fun() { return 2*detail::helper(); }; }; Without ...
Enlico's user avatar
  • 26.7k
1 vote
2 answers
393 views

Android Studio If-statement make TextView visible if invisible and invisible if visible

I am trying to make a textView invisible when pressing a button. But, if the textView is already invisible I want it to become visible. Currently I am trying sonething like this: public void ...
FilleFrella44's user avatar
0 votes
0 answers
49 views

How can I use a updated list in other if-else block?

I am a beginner and working with IntelijIDEA configurations first time. Conditions of a task is: When starting the program with the -c parameter, the program should add a person with the given ...
TheRedBaron43's user avatar
0 votes
1 answer
53 views

Python class variable weird scope visibility rules

$ cat func.py a = 'global' def myfunc(): a = 'myfunc' class myclass: print('myclass a =', a) # a = 'myclass' myfunc() $ python3.8 func.py myclass a = myfunc $ cat func.py a = 'global' ...
Doru Georgescu's user avatar
-1 votes
2 answers
267 views

Hide a control with trigger on another

I have a <TextBlock x:Key="_tb1"/> and another <TextBlock x:Key="_tb2"/>. How to set visibility of _tb1 when for exemple IsMouseOver of _tb2 is true ?
Manta's user avatar
  • 517
4 votes
2 answers
1k views

JUnit 5 test visibility and typing

I'm currently studying a JUnit 5 book and I need assistance in understanding this line: A test method can be either protected or package protected. The preferred is to use package protected as that ...
divad's user avatar
  • 137
0 votes
1 answer
61 views

auto redirect a page on visibilitystate with javascript

i'm working on a small sale website. i want to use visibilitystate to dictate when the user navigates to a new page, switches tabs, closes the tab, minimizes or closes the browser, or, on mobile, ...
TEE-JAY's user avatar
1 vote
1 answer
376 views

WPF - Virtualization does not work for items with collapsed visibility

I have performance problem with my listview. There is a WPF ListView with groupping and virtualisation. <ListView Name="ListOfEvents" SelectionMode="Extended" ...
Phant0m-X's user avatar
0 votes
2 answers
59 views

How to change location of Textview

I have a Linear Layout inside of Constraint Layout. The cardview visibility changes depending on the data. How to align start textview1 and textview2 if cardview visibility is invisible ?
k.kbr's user avatar
  • 45
-1 votes
2 answers
35 views

How do i make a widget visible only if the collection has docs in flutter?

I'm using firebase database and i want to show a certain widget if there was docs only. i tried this line but it's not the right one. Visibility( visible: controller.doc.isEmpty(),
rahaf aldrwish's user avatar
1 vote
1 answer
142 views

TreeViewItem IsVisible property always true

I have a TreeView control in my application that is populated (in the XAML) by binding its ItemsSource to an ObservableCollection of strings in my view model. There are many more nodes that can be ...
Nick's user avatar
  • 1,490
1 vote
1 answer
338 views

Identify first visible view inside viewgroup

I have several TextViews inside ConstraintLayout. The visibility of those TextViews are set at runtime based upon the data availability. I need to bold the text of the first visible TextView. I have ...
skafle's user avatar
  • 935
1 vote
1 answer
2k views

How to check if element is fully uncovered

This is NOT the common cypress issue where you get a test failure because a fixed element is covered by another element. I have an expandable list toward the top of my page. When it expands, I want it ...
Reed M's user avatar
  • 97
1 vote
1 answer
718 views

How to provide visibility to users based on field criteria?

How do I provide visibility to records for users based on field criteria? My demand is: When I have some specific object Files with some specific products the users that contact in this accounts that ...
Alexia Ribeiro's user avatar
-3 votes
2 answers
636 views

Why is a function without self argument not visible to other functions in that class? [duplicate]

In Python, when I'm defining a function inside a class, I can include self as one of the arguments to access the member variables of that class, and I can also choose not include self as the argument ...
Chenfei Lou's user avatar
0 votes
3 answers
193 views

visibility style does not change second time click in javascript and css

I'm trying to create a responsive navbar. When screen size is reduced I'm using media query to style visibility of #nav-items to hidden and display a menu icon. I have written a javascript code to ...
Praveen Rathi's user avatar
0 votes
3 answers
549 views

Content height is reduced with a smaller <div>

I have created a dropdown menu. The basic process has been: I put the dropdown link and submenus inside a div. Using flexbox I put all the links inline and the submenus in a column. With the ...
user avatar

15 30 50 per page