Questions tagged [panel]

A panel is a simple container that allows other elements to be placed into it, especially visual user interface elements.

A panel is a simple container that allows other elements to be placed into it, especially visual user interface elements. Panels can generally aid in developing more complex user interfaces.

4086 questions
11
votes
2 answers

ExtJs panel - adding dynamic components

I have a window with panel in inside the window. I add components to the panel dynamically. These components are in 'hbox' layout so that they are arranged horizontally. On click of a button i will add one more row of similar components in 'hbox'…
AJJ
  • 3,570
  • 7
  • 43
  • 76
10
votes
1 answer

Dynamic panel element adding and scrollbars

I wrote a function to dynamically add elements to the "Panel". public int State; public Point Point = new Point(0, 0); public void DialogAdd(string message, string author) { var d = new DialogMessage(); …
kopaty4
  • 2,236
  • 4
  • 26
  • 39
10
votes
2 answers

iOS: Sliding UIView on/off screen

I'm working on an app where having a "drawer" on the left-hand side would be very beneficial. I'm doing some initial testing to see how I would best accomplish this, and I'm having some very basic trouble. My Setup 1. I am using a single-view…
mbm29414
  • 11,558
  • 6
  • 56
  • 87
10
votes
1 answer

How to add item to Extjs panel at exact position

I am adding an item to Extjs panel. this.add(new_el); this.doLayout(); It works fine. but in some cases I have to add {new_el} at exact position, not last. For example penultimate one. Can't find easy method in Extjs 3.2.1
Lev Savranskiy
  • 422
  • 2
  • 7
  • 19
10
votes
0 answers

How do I hide the new Chrome v84.0.4147.89 Issues Detected messages in the Console area?

Since latest Chrome update, version 84.0.4147.89 (Official Build) (64-bit)) on 14 July 20, when I open the brower's Inspection (debugging) panel, I see 'Issues detected: The new Issues tab displays information about deprecations, breaking changes…
user2505564
10
votes
2 answers

Disable Parent Panel, while keeping child panel enabled

I have a WinForms app, and I have a massive Panel in it. And inside that Panel is a bunch of stuff, including a second, tiny panel. When a certain event occurs, I want the massive panel to become Enabled = false, and I still want the tiny panel to…
anon271334
10
votes
1 answer

How can you get the parent of a UIElement?

Ok, I know that FrameworkElement, which is a direct subclass of UIElement, has a Parent property, but Panel objects have children of type UIElement, not FrameworkElement (The Children property is of type UIElementCollection) which seems it would…
Mark A. Donohoe
  • 28,442
  • 25
  • 137
  • 286
10
votes
3 answers

Any trick to use opacity on a panel in Visual Studio Window Form?

I recently started exploring Visual Studio. I was trying to create a slide menu. More specifically, when the user would press the button a submenu would pop up to the right. To achieve that i have placed a Panel to resize itself. Apart from…
Lio Chon
  • 151
  • 1
  • 2
  • 6
10
votes
2 answers

A custom auto-sizing WPF Panel class

I'm trying to write a custom Panel class for WPF, by overriding MeasureOverride and ArrangeOverride but, while it's mostly working I'm experiencing one strange problem I can't explain. In particular, after I call Arrange on my child items in…
devios1
  • 36,899
  • 45
  • 162
  • 260
10
votes
2 answers

Resizing panels in GUIs without changing size of the contents (MATLAB)

Does anyone know how to change the size of a panel in the gui editor (guide) without changing the size of the contents? At the moment, if I change the size of the panel, I have to spend three times as long changing the size of the contents, and its…
James
  • 253
  • 2
  • 8
  • 11
10
votes
1 answer

Setting panel.border in ggplot theme turns panel background white (wipes out the plot itself)

I would like to make the border of my plots a certain color other than black. I notice that if I set the default theme to theme_bw() using: theme_set(theme_bw()) that I can set the border to the color I want using theme(panel.border =…
Joseph Kreke
  • 667
  • 1
  • 7
  • 18
10
votes
4 answers

Tab index does not work with controls in panels?

I have a vb.net windows form with about 15 comboboxes and 15 textboxes, along with several other controls. All of these TextBoxes and ComboBoxes are located in panels. The reason for this is I need to adjust the visible property of controls based…
TypeM1smatch
  • 225
  • 3
  • 7
  • 15
10
votes
4 answers

How do you force refresh of a wx.Panel?

I am trying to modify the controls of a Panel, have it update, then continue on with code execution. The problem seems to be that the Panel is waiting for Idle before it will refresh itself. I've tried refresh of course as well as…
Fry
  • 4,106
  • 9
  • 38
  • 51
10
votes
5 answers

Moving undecorated window by clicking on JPanel

Is there a possibility to move window by clicking on one of the panels in the window when that window is undecorated? I have a main panel with matte border 40 pixels size, and few panels with controls inside, and I would like to move the window when…
Jan Kowalski
  • 233
  • 2
  • 3
  • 7
9
votes
4 answers

Why does clicking in a text box cause an AutoScroll panel to scroll back to the top?

Finishing up a register form in a C# application and I noticed with the panel if I enable AutoScroll and then have a textbox that is below the scroll and click on it it jumps all the way back up to the top. Is there a way to fix this with some code…
Sean
  • 541
  • 1
  • 6
  • 4