Questions tagged [gui-construction]

GUI-construction involves everything that is used to programmatically construct a custom graphical user interface under Mathematica.

Filter by
Sorted by
Tagged with
8
votes
2answers
286 views

SetterBar behavior

Preamble Consider a SetterBar: SetterBar[1, StringRepeat["q", #] & /@ Range@5] That is with vertical layout: ...
1
vote
2answers
109 views

Arrow inside a rectangle

I would like to create a Graphics similar to the top one here: , but I can obtain only the bottom one. I use this: ...
5
votes
2answers
150 views

Inserting a label in the frame

I am trying to make a panel that looks like this: I can do: ...
0
votes
0answers
53 views

Definition of the vertical size of the enclosing region in CreateDialog and DialogNotebook

Unfortunately, I am not aware of any options that would allow me to control the vertical size of the enclosing region in CreateDialog and ...
0
votes
0answers
18 views

Delete a Line that doesn't match any cell [duplicate]

I wrote my notebook using a mathematica style template. At the beginning I have that line, Confidential How can I delete that keeping the template?
0
votes
1answer
81 views

Add better style to a dynamic question

I would like to obtain something similar to this: A user, has to answer the question selecting an answer from a popupmenu and he can check it. I wrote that: <...
1
vote
1answer
69 views

Random order list of list

I have a dynamic PopupMenu defined as follow: ...
6
votes
1answer
195 views

Giving the input focus to a particular input field

A couple of versions of Mathematica ago there was discussion of how one can set focus on a particular input field: How to set focus of a dialog window? http://community.wolfram.com/groups/-/m/t/...
0
votes
0answers
34 views

Add legend in a Graphic inside a Manipulate [duplicate]

I use this manipulate: ...
7
votes
1answer
121 views

Change default color of selected items in ListPicker

This question was also asked on Wolfram Community. As the title already says, my question is Is there a way to change the highlighting color of the items that are marked/selected inside ...
0
votes
0answers
405 views

Plot Legends size

I use 2 similar Manipulate: the difference between one and the other is only the function that they draw. ...
1
vote
1answer
49 views

Hide Text dynamically

I have a graphic, with on the left a PopupMenu, a Rectangular, a Text and a ...
3
votes
1answer
72 views

SystemOpen inside a button waits until the end for being evaluated?

I am writting with the hope of getting some help when using "SystemOpen". Here is a simple example: ...
5
votes
1answer
132 views

GUI button with AceFEM functions

I would like to have a GUI with a button that starts AceFEM analysis and then some results appear. I have taken one example from the documentation on boundary condition specification and I wrapped it ...
3
votes
2answers
96 views

How to reduce spacing between vertical sliders?

Consider the following code: ...
1
vote
1answer
79 views

Create dialog window without top bar

I made a nice little interface for the Pi to switch GPIOs by clicking a button. I use CreateDialog for it. In Linux I can, after having created the window, click on ...
0
votes
1answer
46 views

Column one under another one in a Plot

I would like to generate a graphic with the Sen,cos and tan function and 3 box on the left, each under the previous. ...
2
votes
0answers
104 views

FormPage oddities

problem with default value FormPage[{namespec -> type -> default, ...}, func ] uses default as the default for the ...
1
vote
1answer
89 views

Blinking cells after Manipulate [duplicate]

I call this Manipulate from a package: ...
16
votes
2answers
402 views

PerformanceGoal option ignored in V11.1

Bug introduced in 11.1 and fixed in 11.2 [CASE:3892079] was created [...] I have reproduced this problem with PerformanceGoal in version 11.1 and reported ...
3
votes
2answers
131 views

Controlling the visibility of controls in a Manipulate expression

I have designed some custom colormaps. I also want to use the inbuilt colormaps as well. The user will be given a choice to select whether to use a built-in colormap or a custom one. Based on the ...
1
vote
1answer
86 views

The same RadioButton control in different places of Manipulate

I would like to place the buttons of RadioButton control in Manipulate not in row or column close to each other as usually, but ...
8
votes
1answer
189 views

Create dynamically Manipulate buttons to come back to current parameters

I would like to create dynamically buttons in Manipulate in such a way that after clicking the button the Manipulate parameters would come back to the values when the button was created. In my example ...
5
votes
1answer
110 views

How to have button's action repeat as long as the button remains pressed?

The widget below is just a toy that I put together so that I could ask this question. ...
3
votes
2answers
234 views

Dynamic Graphic with a goniometric circumference, angle and tangent

I would like to make a circle with radius 1 with axeses showed. I would like to dynamically select a point on the circle, draw a line from that point to the center and draw the tangent line to that ...
3
votes
2answers
95 views

Prevent string from splitting

I have two elements of a grid: ...
1
vote
1answer
47 views

Overriding an interpreter failure message in a FormFunction expression

I am building a Form to capture several non-zero numbers as inputs. The basic code is: ...
7
votes
1answer
101 views

Slider with Appearance “Labeled” Gives Too Much Space

Without Appearance -> "Labeled" Sliders take up the expected space. ...
12
votes
1answer
373 views

How to create Right-Click ActionMenu at mouse position?

I have a Grid and need to enable some actions on individual values. For this I want to use an ActionMenu that shows on right-...
2
votes
0answers
106 views

Nested Dialog Input

I have a blocking Dialog that is taking input from another dialog internally. This is how I have coded ...
1
vote
1answer
71 views

DateTime Input Dialog in Mathematica

I am trying to create a DateTime input dialog that will return a DateTimeObject ...
3
votes
0answers
100 views

Memory management in Dynamic

Here is some example code for an image viewing aspect of a notebook I'm working on. I was hoping that the return value of LoadPage[] would be garbage collected when ...
4
votes
0answers
160 views

What is the best way to localize variables in a custom control

I am trying to build a custom control that is just a combination of a group of smaller controls that combine to give the final value, but with the final value only updating when the controls stop ...
0
votes
1answer
75 views

Dynamic with side-effects

I'm working on a UI where I want to display many images, too many to have in memory at once. So I'm trying to implement a "paging" system to display a handful of images at a time and only load on ...
2
votes
1answer
139 views

ClipPlane orientation

I'm trying to clip a cone both from top and bottom using IntervalSlider. I'm able to clip it from the bottom but not from the top. ...
5
votes
0answers
141 views

InputField GUI Glitches

Has anyone observed the following GUI glitches in Mathematica (see screenshots below)? I have noticed this beginning to occur from Mathematica 10 onwards. I've only tested their occurrence with the <...
3
votes
1answer
58 views

How do I prepare images to be used as Appearance arguments?

So this is really in many ways a follow up to this question: Complete list of FrontEndResources For a while now I've been using FrontEndResource specified ...
3
votes
0answers
60 views

How to temporarily turn off log messages?

I'm using GUIKit in Mathematica 11.0, which throws an error message whenever a window or panel is shown. I know GUIKit is deprecated but I don't want to port a whole project to the newer controls. ...
4
votes
1answer
385 views

Create a checkbox that is automatically checked when other checkbox is already checked

I am trying to build an UI for my algorithm, to handle some input parameters. Under that scope I am building a checkbox menu. What I need to do is nest some checkboxes under some parent checkbox, so ...
11
votes
1answer
159 views

Why is PaneSelector caching nested Dynamics and how to switch it off?

Bug introduced in V10.4 or earlier and persisting through V11.3 CASE:3875733, confirmed It seems that Dynamic content is somehow cached by ...
1
vote
0answers
50 views

How do I make a mathematica cdf which imports data and plot them? [closed]

I have a python program which could browse for an excel file containing data, load them such that each column is automatically recognized and then make 3D graph or density plot from the loaded data. ...
0
votes
1answer
67 views

Issue with two dimensional manipulators

I want to have a dynamic number of manipulators. ...
0
votes
1answer
161 views

Why doesn't my Manipulate expression work? [duplicate]

I want to change 3 parameters: Subscript[I, dc], Subscript[B, dc], Subscript[μM, 0] and see changing on 2 graphs: ...
0
votes
0answers
40 views

How to create Dynamic InputField Grid for matrix variable? [duplicate]

I need to make an InputField Grid change the values of a matrix variable without creating a ton of dummy variables. Minimal ...
0
votes
1answer
69 views

Setting state with UI (labeling tool) [closed]

I think I've finally got an idea for project to test out the neural net capabilities in Mathematica 11, but first I need to label some data. I'm trying to put together a quick little UI, but I got ...
-2
votes
1answer
391 views

How to dynamic update the content of a Table with dynamic rows? [closed]

I worked this way, but it does not work as expected: The rows of the table: nrows = Slider[Dynamic@n, {0, 5, 1}]; The contents of the table: ...
1
vote
0answers
72 views

How to update a Text Field Widget during evaluation of a function

My problem is rather simple, I need that the TextField widget named Sumfield updates its value during a function evaluation, in ...
5
votes
3answers
262 views

How to stabilize the overall appearance of a Manipulate widget?

NB: I've seen other post's that ask similar questions, but I haven't found one whose answers address the problems described here. The code below is a very artificial example that illustrates the ...
1
vote
1answer
123 views

TemplateBox based controllers. Not editable InputFieldBox

The goal is to have controllers fully customizable from a stylesheet level. At the moment one can't add MouseAppearace to a ...
1
vote
1answer
53 views

Strange behavior of Manipulate with arbitrary number of control variables

I am creating a Manipulate that evaluates a function that takes an arbitrary number of binary control variables. For example, the ...

1 2 3
4
5
12