3,696 questions
2
votes
1
answer
326
views
RealityKit performance is very low
Having successfully managed to get my app running with RealityKit instead of SceneKit, I'm noticing a distinctly lower frame rate with the same model. If anything, the model should be slightly better ...
0
votes
2
answers
124
views
Creating a bordered Button in Tkinter
I want to create a class for a Tk.Button in a Tk.Frame so that the button can have a border color independent of its background color.
I wrote this code which creates a button in a frame just as I ...
1
vote
0
answers
65
views
Load Json frame, but load "r" type frame and "c" not load
[] this image show the difference between "r" and "c" value. You can see Code in json file.
[1]enter image description here
In this image show the result of type "c"
If ...
0
votes
1
answer
61
views
"background blur" in SwiftUI?
I want to draw image overlapped with a blurred panel with a text. The problem is the panel frame depends on text frame. In the same time mask modifier is set separately from text and panel.
My code:
...
-1
votes
1
answer
166
views
How do I remove (or close or dispose) current page from frame in WPF?
I have a MainWindow with some buttons for navigation. These buttons opens up a Page in a Frame and of course this page gets added to the Frame's navigation history.
Now let's say I have 6 open pages ...
1
vote
0
answers
26
views
Frame Motion Animation
I have a scrollable element horizontal, I want to start the animation even they are hidden on x-axis, I want to detect my element if they visible on Y-Axis only I am using frame motion, I tried put ...
2
votes
1
answer
82
views
Aligning grid columns between parent and container frames using tkinter
Using Python and tkinter I have created a dummy app with a scrollable frame. There are two column headings in a container frame. The container frame also contains a canvas. Inside the canvas is an ...
0
votes
1
answer
76
views
HTML elements moving when I add frames and containers
I've searched around and I don't find nothing, for a title of context, in the past few days I have been building my portfolio, I am a backend dev so I am not used to any of these things.
I added a ...
-1
votes
1
answer
62
views
Same frame for login and sign up
I am working on a project for which i need to make a login and sign up. I am an beginner in java swing so i am facing some issues. I have a basic frame for both login and sign up but they don't appear ...
1
vote
2
answers
226
views
Aligning frames in tkinter python, (customtkinter)
I'm making an app in python, with the customtkinter library. I'm using the grid() widget manager. So far, I only have a few frames as the basic layout, but can't align them properly.
The issue is, ...
0
votes
1
answer
35
views
Convenience variable for locals pointer in gdb
currently I am doing a CTF challenge and I use gdb a lot. For overflows (getting information via printf or overwriting the RET pointer with puts) it is very helpful to get the locals pointer from the ...
0
votes
1
answer
244
views
Python Tkinter: Inside packed frame, how to equally distribute grid() column widths?
I need to use a Frame widget to do this; I know I can do it without using the frame and just use a big grid to contain everything (with columnspan for the canvas etc.), but I'd like to put stuff in ...
2
votes
1
answer
106
views
Netgraph Animation — how to display frame numbers
I'm trying to add a frame number to a simulation visualization modified from here. Is there any simple way to add a frame number to this animation so that it displays as a part of the plot title?
...
0
votes
0
answers
55
views
Some widgets don't appear in the main app
I'm trying to make an GUI to launch Ansible playbook, I've done a main app container with a menu to swicth between different frame.
The main.py looks like this:
#!/usr/bin/python2.7
# -*- coding: utf-...
0
votes
2
answers
56
views
access a component in a tkinter frame class from another frame class
I created a 2 Frames application in tkinter inspired by https://www.geeksforgeeks.org/how-to-change-the-tkinter-label-text/. The purpose is to import a new image by clicking on the start button, and I ...
1
vote
1
answer
52
views
How to maintain the UIView C position same in UIView A?
What I want is to move UIViewB and maintain all the views position like nothing happened. I want viewC back to the original place before viewB is moved how ? This must apply to all angles regardless ...
0
votes
1
answer
58
views
MatPlotLib Graph in a tkinter frame stays completly white
The graph supossed to be displayed in the canvas does not appear
import tkinter as tk
import matplotlib.pyplot as plt
from matplotlib.backends.backend_tkagg import FigureCanvasTk
import numpy as np
...
1
vote
2
answers
114
views
Is it possible to add an eventListener to a custom title bar used for dragging the window in a frameless window?
Added a custom title bar to a frameless window in order to make the window draggable. The title bar shows, but eventListener won't fire:
main.js:
const createWindow = () => {
const win = new ...
0
votes
0
answers
91
views
Javascript scroll effect
I have the following code, which I have integrated as an iframe. By scrolling, images are loaded one after the other. after the last image, I would like the page to continue scrolling, as I have more ...
0
votes
1
answer
108
views
Is there a way to set a custom keyboard layout for Ubuntu Frame
I'm building a kiosk based on Ubuntu Frame that will need to startup a Firefox browser, however I also need to disable the ctrl keys so I created a keyboard layout that seems to work fine outside of ...
1
vote
1
answer
54
views
How to remove / forget a 2nd frame AND reuse it conditionally
Albeit having some coding experience, it was in 'old scole 3GL' like Cobol, but that was decades ago. Not to long ago, just for fun and out of curiosity, I looked into the 4GL object oriented aspects ...
0
votes
1
answer
101
views
Top and bottom alignment Swiftui
How to put a Header and Footer to the Top and Bottom of a View, respectively
I need the header and footer to stay at the top and bottom of a view, but I can't get it to work.
The view is this:
...
0
votes
1
answer
60
views
How to call a function from another frame in tkinter witheout getting an AttributeError: object has no attribute
Hello everyone I am kinda new to python and Tkinter I start it few month ago.
I'm currently working on tkinter app for my work. this is a simple app that got 3 pages one for the home page, another is ...
0
votes
1
answer
100
views
tkraise() issue with background
I'm using tkraise() to switch between sign-in page and sign-up page, but the problem is that in the first part of my code (sign up), it didn't show the background image, while the second part (sign-in)...
0
votes
1
answer
60
views
How to insert a Horizontal Scrollbar in a Tkinter Frame with multiple Entry Columns?
I have the following code:
from tkinter import *
Main = Tk()
# Main window
Main.title("Program")
Main.geometry("900x520")
# Background photo placed on top of Main
Photo_BG = ...
0
votes
0
answers
104
views
Can't get image_gallery_sd.py to work on my inky frame 7.3, but sd card itself works, picture displaying too
I tried to run image_gallery_sd.py. It results in the following error (I have named my pictures 0001.jpg through to 0005.jpg):
MPY: soft reboot
Displaying /sd/0005.jpg
Traceback (most recent call last)...
0
votes
1
answer
85
views
Checkbox All does not checks all the other checkboxes
I call a UserForm by clicking a button in sheet1. The UserForm is created by the code in Private Sub UserForm_Initialize(). The UserForm contains a frame populated by several checkboxes. One of these ...
0
votes
1
answer
510
views
How to use JOptionPane?
I'm learning Java and in one of my exercise I have to do a logging frame which displays warning after push cancel button, before typing id or password.
import javax.swing.JOptionPane;
public class ...
0
votes
1
answer
106
views
How to fix frame drops in Unity
I'm Korean, so please understand if there are any strange grammar. This project I created was a rhythm game and used the bpm system.
However, sometimes notes are created slowly. I think frame drops ...
0
votes
1
answer
51
views
How to set an individual mouse scroll on two different canvases that are connected to separate frames but the frames are one on top of eachother?
I know the title is a bit difficult to understand so let me explain it better here:
I have a class that is inheriting a selection that I've made in a previous window, now that class has a couple of ...
0
votes
0
answers
60
views
Issue with XSL Display since Chrome 123 Update
Since the recent update to Chrome version 123, I've been facing an issue with displaying XSL (XSLT) within iframes on my web application. Normally, the XSL content is loaded into an iframe using XSLT ...
0
votes
1
answer
343
views
How do I make a Frame in tkinter disappear and reappear without making another Frame?
I'm working with Tkinter and using pack to manage Frame. How can I visually make a Frame disappear without deleting it or making it invisible? I want the Frame underneath to fill the space, and later, ...
0
votes
1
answer
103
views
Jump height and Gravity not consistent with fluctuating FPS (flappybird-like Javascript minigame)
When playtesting (Flappigtrail, v0.1.2), I noticed that the jump height works for 144 FPS but not so much for 60 FPS (the jump height is way lower for 60 FPS).
When the player jumps, player_dy becomes ...
0
votes
0
answers
620
views
Adaptive layouts in SwiftUI
I'm working on an iOS app that supports both iPhone and iPads. I have created the following layout in SwiftUI.
struct WelcomeView: View {
var body: some View {
GeometryReader { geo in
...
0
votes
0
answers
58
views
Why do I need to set the width to get the maximum size when it contains box horizontal glue in the panel that has a box layout?
I need to set this CBox (cricle by blue on the image 1) to not max height and good width. But when I use setMaximumSize, which comes with two parameters, the first is width. I set it around 100 to 200,...
0
votes
0
answers
70
views
Frame.Navigate crashes when passed a Page-derived class from dynamically-loaded assembly?
The design of my application is such that some assemblies can be dynamically loaded at runtime (unknown at compile time). This is a typical 'plug-in' type architecture where I can discover Page-...
0
votes
2
answers
139
views
Problem placing or dividing frames in the window (Python with Tkinter/TTKbootstrap)
I'm trying to put two Labels next to each other but I want one to cover half the window and the other the other half but I've tried everything but nothing happens they just stay in that corner
how I ...
0
votes
1
answer
55
views
Reordering DataFrame Columns to Match Another DataFrame's Sort Order in R
I have two data frames df1 and df2 containing three columns L, M, and G.
df1 <- data.frame(L= c(0, 1,1,2,2,2,3,3,3,3), M= c(0,0,1,0,1,2,0,1,2,3), G= (1:10))
df2<- data.frame(L=c(0,1,2,3,1,2,3,2,...
0
votes
0
answers
32
views
How to add page to the end of another page for Xamarin.Forms
I want to create a analog of shell's tabbar (shell doesn't appropriate for me) with 2 buttons at the end of every page. I created
<?xml version="1.0" encoding="utf-8" ?>
<...
0
votes
1
answer
115
views
Python tkinter: Class for a scrollable frame, the widget inside the scrollable frame does not expand using sticky='nsew', why?
I wrote the folliwing class (reading some examples on the web), it works almost perfectly, except for the fact that the widgets placed inside the scrollable Frame (child of Frame) does not expand when ...
0
votes
1
answer
176
views
Tkinter - Creating scrollable frame
I'm trying to create a scrollable frame with customtkinter following this guide. The result I'm trying to obtain is a series of frames packed one over the other just like in the linked guide. What I ...
0
votes
0
answers
24
views
JButtons are not being disabled when setEnabled(false); is called [duplicate]
So in this application, I have the option to create my own burgers but also have 3 commonly ordered burgers that can be selected and added to the order without building them from scratch. At the ...
0
votes
1
answer
617
views
How to use MVVM pattern for Frame navigation in wpf (same View, different VM)?
I'm developing a crawler program and I want it to have a similar experience to a browser, i.e. I can go back/forward, I'd like to use a Frame control but I'm not sure how to do it, my View is the same,...
1
vote
0
answers
52
views
Creating a frame that adjusts to the size of the screen [duplicate]
I was wondering If there would any way to achieve this frame in a simpler way. I was thinking on a SVG that would somehow adjust to the margin and retain in the process the width of the lines.
Codepen
...
0
votes
0
answers
519
views
Playwright Having issues selecting or interacting with page elements
I'm trying to automate a few testcases but after logging in and navigating to the section the code keeps timing out. I tried recording the steps and get code like this:
await page.frameLocator('#...
1
vote
0
answers
171
views
How does Scapy disable the FCS?
I'm trying to send an Ethernet frame with no / corrupt FCS (to test some custom hardware which has a specific error counter for this).
I've found Scapy, which does this very simply.
What I want to do ...
0
votes
0
answers
37
views
How to show form (own class) called in a hidden MainWindow class? [duplicate]
I try to implement a login form. Until now, I've set the Login-Dialog seperately from the MainWindow:
current_user = current_user()
login_form = Loginpage(df_benutzer, current_user)
form.show()
window ...
0
votes
1
answer
365
views
How to separate rows in a collectionview, using frame to show the items
Good morning colleagues, I have a view that shows a list of tables, I am using collectionview as a data container, and to give it a better appearance I am using frame in each of the articles, so far ...
-1
votes
1
answer
192
views
About making animation by VMD(Visual Molecular Dynamics)
~Details~
I have a file.pdb that contains 10 frames but each frame don’t have same data size(ex. frame1 has 10 atoms, frame2 has 20 atoms….).
I need a way to make animation of this file, but VMD ...
1
vote
0
answers
137
views
Accessing controls within worksheet embedded Microsoft Forms 2.0 Frame
I need to know how to access the controls placed within a frame control I placed directly into a worksheet...
Per the suggestion of another Q&A site, I added a Frame Control to a worksheet by ...