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
0
votes
1
answer
51
views
How can I make an element's attribute only appear on hover when another element is hidden?
I'm having trouble figuring out how to make the data-title only appear on hovering of the up-arrow only when the footer is down/not showing. However, I would also appreciate another solution where the ...
-1
votes
1
answer
95
views
Using only javascript and css: can I enable the user to selectively display and hide divs of different classes, via a single drop-down menu?
I have an html page consisting of 80-100 css-styled divs each containing a grid with an image and information about a single artwork. (Each div already has a unique Id, to enable linking-in to a ...
2
votes
4
answers
2k
views
Get current index/visible item of FlatList
I have a scrolling view of posts. Each post has a corresponding user and I have a header that shows the user info of the current visible post. With Flutter this was simple, I just wrapped the post ...
1
vote
1
answer
310
views
Do inherited methods use the visibility, methods and attributes of the superclass or subclass?
What I assume is that an inherited method will, by standard, use the methods and attributes of the class whose object is used to execute that method.
Here's an example for my question, it's from a ...
0
votes
1
answer
374
views
UX: should I hide basic functionality that users can't reach?
I'm working on dashboards now, e.g. employee form. Some users have permissions to delete employee and some are not. Usually these permissions are changed only if user assigned to new type, e.g. from ...
0
votes
1
answer
384
views
Icon does not become invisible in jetpack compose
I have simple viewpager and toolbar in my code :
@Composable
fun DefaultAppBar(
mainViewModel: MainViewModel
) {
CompositionLocalProvider(LocalLayoutDirection provides ...
0
votes
2
answers
248
views
Showing only one of several widgets in Flutter
I have a space where I to show either widget1 or widget2 (and never both). How?
In fact, widget1 to contain a simple case of retrieved information and a button to switch to show widget2 (with more ...
0
votes
1
answer
170
views
three js weird artifacts with objects intersection
Trying to get into three js and following some tutorials here and there but I'm stuck on some very basic stuff I feel, that I can't find the solution to.
The problem I have is shown better on the gif ...
1
vote
0
answers
100
views
Avoiding globally overloaded new and delete(in one shared library) to be called while calling new from other shared library
I have overloaded new globally in get_seven.cpp. Also, I am using -fvisibility=hidden option, but still If I do new from get_seven.cpp, my new is called. I do not want that. How can I achieve that ...
2
votes
1
answer
187
views
Rust visibility across files in same folder
I have divided my Rust project into multiple files in same folder for tidiness. Now each file is perceived as a mod of its own and I have to mark everything pub(crate). Is there a way to publicize all ...
0
votes
1
answer
743
views
why can't I access a protected method from a private method if the protected ones are inherited by the subclasses?
I do not understand this particular case or what Alexander says.
class instance is not the same as class?
As already Alexander Larikov said that you can't access protected
methods from class instance ...
2
votes
1
answer
553
views
Get all visible windows with JNA
I am programming an overlay in Java showing information for multiple windows.
I need it to follow the window that it is tracking, and to do this I regularly take information about the current windows ...
1
vote
1
answer
254
views
How to Hide a Button with a Visibility widget
Few Informations about me: Im 17y/o and from Germany.
I have made a ListView to show Multiple Headers. Each Header should be a able to store multiple Subheaders which can be opened or closed. It ...
0
votes
1
answer
158
views
My widget is rebuilt when toggling visibility where it shouldn't
I have a StatefulWidget that basically consists on a background widget (an playing video) and foreground HUD Column of Widget. The later visibility can be toggled by taping on an ElevatedButton.
The ...
1
vote
1
answer
443
views
How do I keep a mod private and use it in another module within the same project in Rust?
So I want to have some modules defined in lib.rs but not make them public but only available for use within the project.
in my lib.rs, if I have the definition as this:
pub mod args;
in my main.rs, I ...