Questions tagged [widget]

A widget is an element of a user interface (GUI widget) or a self-contained (usually small) software application (desktop widget). In computing , an application, or a component of an interface, that enables a user to perform a function or access a service.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
19 views

How to add a widget to any project without the element with specific ID ( React )? [closed]

I am gonna add it to other project with only, and don't want to create a to the main project. Here is updated code. My Widget code. const root = ReactDOM.createRoot(document.getElementById('...
HighDevWizards's user avatar
0 votes
1 answer
142 views

How can I convert just one of the components used in my React app into a widget

I have a react app created using Vite, which has 4 components that are material ui tables that display some info. I want one of them to be a widget so it can be used in the current app and other apps ...
trying2dev's user avatar
0 votes
0 answers
23 views

Odoo 13 Custom Widget with button does not appear in field until focus is lost

I have created a custom widget that consists of a textarea, with a button that has an icon inside. I use this widget on 3 fields on an order line, 2 custom and the third is the name field. This works ...
Neill's user avatar
  • 711
0 votes
0 answers
31 views

Flutter: Getx: How to load Dropdown widget after fetching values from Firestore database using Getx State Management

My issue is : I am trying to fetch values(studentName) from my Firestore database and load it onto the DropDown widget. The problem that I a facing is that I am able to retreive the data from the ...
sulli110's user avatar
  • 165
-1 votes
0 answers
6 views

How can I add custom React widgets to jupyterlab top toolbar(or toolbar within panels)?

I would love to be able to add custom React widgets to jupyterlab toolbar ( for example radix ui dropdown, or custom switch component)? How can I achieve that? Thanks
Terlan's user avatar
  • 19
0 votes
1 answer
28 views

SVG file is not displayed in android flutter app

This is my pubspec.yaml file code: flutter: assets: - assets/logo.png - assets/welcome_bg.jpg - assets/logo-nbg.png - assets/create_screen_icon.svg - assets/upload_image.svg ...
Ahmad's user avatar
  • 3
0 votes
0 answers
15 views

Widget to visually select time ranges on a graph?

I'm graphing spectral data and I want to be able to graph my data, and using a slider, select portions of the graph and display the times I have selected. Just like highlighting a word in a paragraph, ...
abkeaton's user avatar
0 votes
0 answers
33 views

Flutter - Network image and connection time out

I need network img who have loading progress and error placeholder, and set timeout connection for loading on 5 sec. I tried NetworkImage, FadeInImage and CachedNetworkImage, but i cannot change it ...
Šubyk's user avatar
  • 1
0 votes
0 answers
32 views

Update widget by pressing a button

I'm trying to make a widget refresh button. I found this code, it works great on android 11. But on version 12 and higher, it breaks the application. What could be the problem? // onReceive function ...
Psoriaz's user avatar
  • 35
0 votes
0 answers
7 views

Rotate the appWidgetIds continuously with time

I am creating the clock widget in my app. I want to rotate the needle with time. I have tried different ways but have not been successful yet. If I don't apply any method to rotate the widget appears [...
Iqra Riaz's user avatar
0 votes
0 answers
15 views

SpanSelector with electron spectral data

I'm trying to analyze data cdf files that are automatically loaded in as tplot variables. I'm using pyspedas, a space physics python library. I've been trying to optimize my way of selecting certain ...
abkeaton's user avatar
0 votes
1 answer
33 views

Seeking Feedback on Code Optimizations: Flutter TextField Custom Widget

I have a Flutter template, and then i want to change the widget only but many fitures not working example like this Expanded( child: DInput( ...
HollowX7's user avatar
0 votes
0 answers
4 views

Can the Livecode browser widget display multiple tabs?

I am interesting automating the downloading of the full text of US patents from the US Patent & Trademark Office. That used to be possible until the office replaced their previous system with ...
Bruce's user avatar
  • 11
0 votes
0 answers
16 views

Flutter dynamic size 3D button

I'm trying to implement next buttons and I want to have a single widget that accepts child, color and onTap. The code I've come to so far is next: import 'package:flutter/material.dart'; import '...
Oleg Novosad's user avatar
  • 2,311
0 votes
0 answers
27 views

Widgets do not appear in the emulator widget list

I have 2 widgets in my application. I want to test them on different versions of android. On my physical device and other physical devices, the widgets appear correctly in the widget list, but when I ...
Psoriaz's user avatar
  • 35
0 votes
1 answer
61 views

Flutter - How to calculate Size of a Widget before rendering?

I'm trying to make a responsive UI that consists of 2 main elements - Video Player and its Controls. The controls do have a dynamic height and I need to calculate remaining height on top of the ...
Michael Bardoň's user avatar
0 votes
0 answers
17 views

How to resolve horizontal drag conflicts between Drawer and bottom view in flutter

In Flutter, the width of the area where the Drawer is dragged horizontally can be set by setting the DrawerEdgeDragWidth; But when a horizontal drag operation is set in my main view, there will be a ...
Stackflow's user avatar
0 votes
0 answers
41 views

Converting ipydatagrid Jupyter Notebook widget to PyQt widget readable by lauout.addWidget() method [duplicate]

Question. How can I embed ipydatagrid(or similar) editable spreadsheet widget in PyQt5? I am not interested in creating spreadsheets from basic elements available in PyQt. So I am interested in ...
Alex Alex's user avatar
  • 257
2 votes
1 answer
35 views

Adding Border to Image Widget Flutter

I'm new to dart/flutter and trying to add a small black border around this image widget but I’m not sure how to. code: Align( alignment: const Alignment(0.0, -0.15), child: image.isNotEmpty ?...
Gibbonic's user avatar
1 vote
2 answers
33 views

Flutter Not Calling Build in a Widget After setState() Despite a Change in State

I have called setState() to update the objects of the class MyErrorBox, but Flutter does not run the build function for those objects. I am new to Flutter and coding in general. The MyText class in ...
INeedHelp1234's user avatar
0 votes
0 answers
25 views

ZOHO JS SDK library code is not working on my VSCODE i want to make widget

I want to build and package widgets in Zoho CRM. but i cant be able to use a single piece of code .I got error every time when i run code on ZOHO CRM. i got alway undefined value error in my code .I ...
vivek's user avatar
  • 1
1 vote
0 answers
27 views

Android widgets crashing in Expo project

I've built an android widget in Android Studio using kotlin, it also has a config where you change some inputs when you launch it and then make an api call with those selected values The project works ...
Sergiu Tonț's user avatar
-1 votes
0 answers
11 views

No mediaquery widget ancestor

**your text**this is the error: ======== Exception caught by widgets library ======================================================= The following assertion was thrown building OnboardView(dirty, ...
Ayati Sonkar's user avatar
0 votes
0 answers
52 views

How to move widgets to fill empty space?

I have 2 expanded containers filled with widgets, for various reasons i need to make the right one smaller without changing it's appearance or scale, (basically i just want it to move to the right to ...
DavideC's user avatar
0 votes
0 answers
18 views

Updating Streamlit Button Widget Label Using Session State

# Initializing Session States if 'counter' not in st.session_state: st.session_state.counter = 0 if 'start' not in st.session_state: st.session_state['start'] = False if 'stop' not in st....
fesomadealli's user avatar
0 votes
0 answers
33 views

asyncio: RuntimeError: no running event loop while running widgets

I try to show widget with two buttons (in file wait_action.py): from ipywidgets import Button, HBox from IPython.display import clear_output import asyncio def wait_for_change(...
Любовь Пономарева's user avatar
1 vote
0 answers
37 views

Override a Woocomerce filter widget by a child theme or function.php

We are trying to override a Woocomerce widget for products filter to make the attribute name of the filter result to be in h1 tag for SEO purposes. We edited the code in wp-content/plugins/woocommerce/...
John Adams's user avatar
0 votes
1 answer
30 views

React + Vite : Build process interfering with widget

I am making a football app (react + vite) like Fotmob and I am using api-football for the API data. I am trying to integrate their widget in my app. The widget works fine when used in the index.html (...
user17666483's user avatar
0 votes
1 answer
33 views

How can I arrange several plots using ipywidgets?

Question. How can I make a grid (or other similar layout) out of matplotlib plots using ipywidgets? Description of my attempt. I want to have two plots, each of witch is on separate matplotlib figure. ...
Alex Alex's user avatar
  • 257
0 votes
0 answers
29 views

Add multiple text field

I don't know hot ot add multiple text field or box where you can write and eventually how to tranform these box to a textfield that can be toggled (show/hide) I am expecting that when I click in this ...
Fabio Fagiani's user avatar
0 votes
1 answer
36 views

WidgetKit safeArea issue

I'm creating Widget for iOS app by using WidgetKit but I faced one problem width padding or safeArea here is code and output is like this but I want to cover all view by red ZStack { Color....
Yunusbek Sadullaev's user avatar
0 votes
1 answer
55 views

Is there a Flutter overlay widget like a floating Snack Bar?

My Flutter project has a large form with about 20 fields to be filled in by the user. Some of them like name, email etc. are self-explanatory. But a few fields may need additional context to help the ...
Raja's user avatar
  • 1,063
0 votes
1 answer
30 views

Highcharts widget with text output that is based on data from Thingspeak

I have worked a while now with highcharts to visualize columns, lines based on data taken from measurements. Now I am struggeling to find a way to show pre-defined "text" in a widget based ...
Cooky's user avatar
  • 1
0 votes
1 answer
36 views

Rotating announcements for custom Windows 11 widget

I read user doc about Windows 11 widgets. It mentions the rotating announcements. When your widget can appear on some time instead of wether widget on the taskbar. I read developer doc, and it does ...
steam3d's user avatar
  • 153
0 votes
0 answers
36 views

Widgets not being displayed in FlutterFlow app

I am working on my first Flutterflow project. (BTW, I am not a developer). It was all going fine but for the past week, I have been facing a strange issue. Some of my pages are unable to display the ...
Engr. Omer Masood's user avatar
0 votes
0 answers
31 views

Why my Apple Watch complication real machine test displays strange images?

There is my code: struct WidgetView: View { var entry: Provider.Entry @Environment(\.widgetFamily) var widgetFamily var body: some View { switch widgetFamily { case ....
liangmi's user avatar
  • 11
0 votes
1 answer
24 views

Flutter - My BlocBuilder is not notified of the state change

My My BlocBuilder is not notified of the state change but I do have MenuAnimationError which is emitted. My output : Instance of 'MenuAnimationInitial' INITIAL [-in] MenuAnimationError instantiated [...
john doo's user avatar
0 votes
0 answers
16 views

how to Elfinderk img show

I'm using the Elfinderk widget, I need to see what the image looks like without clicking on it, so wherenter image description heree should I change the widget setting. thank you what solution do you ...
Ro'zimurod Doniyorov's user avatar
0 votes
1 answer
37 views

Adding buttonStyle for SwiftUI Widget intent button messes up VoiceOver

In the SwiftUI Interactive widget(iOS 17), when you add: Button(intent: callWidgetIntent) { HStack { Image(systemName: "eye.fill") Text("Update") } } ....
Samps's user avatar
  • 849
0 votes
0 answers
41 views

How to show ripple effect at only at specify part of the widget during onTap

let's say I have a column widget inside I have two widget one contains a image and second some text, I want to show ripple effect ONLY on the image while the whole column is tapped. I tried making a ...
Omega500's user avatar
0 votes
1 answer
65 views

Class not found error for a custom Android widget in a Flutter project

I'm a beginner in Flutter, and I'm attempting to create a custom Android widget within a Flutter project. I'm encountering an error "java.lang.RuntimeException: Unable to instantiate receiver com....
Marco Lazzaroni's user avatar
0 votes
1 answer
31 views

Pass data between advanced pages (Flutter)

its me again. Hope you can help please. Im working advanced UI programming so I have this view divided into two parts: CodeView The first one its named create_order_page.dart, in this file at the ...
Kevin Mendoza's user avatar
0 votes
0 answers
14 views

Android Studio Ad in Widget

is it possible to show an ad in a widget in android studio? I've already read some posts about this topic and found out that mobile ads need a "WebView". Widgets do support certain views, ...
Niklas Strasser's user avatar
0 votes
1 answer
46 views

swiftui widget button intent has a default background, how to remove it

I'm build a widget for a iOS17 app, and below is widget' button code var body: some View { if #available(iOS 17.0, *) { Button(intent: TodoCheckInIntent(todoId: todo.id)) { ...
per ro's user avatar
  • 3
0 votes
1 answer
37 views

How can I change the randered widget

Hello I want to change my randered widget on click but I can not mnage to do it import 'package:flutter/material.dart'; void main() { runApp(const MyApp()); } class MyApp extends StatefulWidget { ...
Hyrex's user avatar
  • 1
0 votes
0 answers
21 views

LockScreen Widget reload every minute

I'm currently developing a world clock LockScreen widget, which is supposed to display current time of the selected city. The code I'm using to reload it every minute is the following: func ...
Emma's user avatar
  • 75
0 votes
0 answers
34 views

Confetti Widget not working after await in flutter

I'm trying to play confetti animation after await call gets completed. TextButton( onPressed: () async { //close alert dialog Navigator.of(...
prabhu r's user avatar
  • 253
0 votes
2 answers
33 views

How to display an icon in the center of buttom navigation bar without label in Flutter

I am trying to have a buttom navigation bar in flutter where one of the items has no label but I still want to see it in the center. It is the second item from the left. Here is current code: import '...
mj1261829's user avatar
  • 1,270
0 votes
0 answers
17 views

how to program a back button that closes down a widget // python

I am creating a fishing simulator game in python and for this i have created wigets that show up when a square is pressed, however i dont know what to do to close the widget after being opened and ...
Beanie's user avatar
  • 1
0 votes
0 answers
48 views

How can I Preserve Clicked Country States in amCharts 5 Map on Page Reload?

I'm very new to HTML, and I'm currently working on a personal project with an interactive amCharts map. When a country is clicked, it changes colour, marking it "active." I am struggling to ...
Samet Denizli's user avatar

1
2 3 4 5
243