I know this is a stupid question but I am really stuck
I have absolutely no idea what this widget is called. I can't search it because I don't know what it is called :
In the wxMessageDialog , there are two colours grey and white, what is used to acheive that ??
I tried creating two panels and set one to grey and one to white but that didn't look like the image shown above
What is this widget called ??
Re: What is this widget called ??
It's definitely not wxStaticLine
- doublemax@work
- Super wx Problem Solver
- Posts: 474
- Joined: Wed Jul 29, 2020 6:06 pm
- Location: NRW, Germany
Re: What is this widget called ??
Definitely not a widget. It's either a border of the top or bottom part, or a feature of the native Windows dialog.
Re: What is this widget called ??
Which one is it?? , is there a wxWidgets class for implementing it ??? Come on I'm not asking for opinions
-
- Filthy Rich wx Solver
- Posts: 235
- Joined: Fri Sep 14, 2012 8:26 am
- Location: Kontich, Belgium
- Contact:
Re: What is this widget called ??
Well it could be a static line with colour white and a width of, say 20 px.
You could also start with a vertical sizer and add a panel with background white and a second panel with a grey background colour. Put on that panel an horizontal sizer with a space and two buttons. Set the space to stretch and the buttons will end up on the right side. And they will stay on the right side of you resize the basic frame.
Enjoy coding with wxWidgets,
Nunki
You could also start with a vertical sizer and add a panel with background white and a second panel with a grey background colour. Put on that panel an horizontal sizer with a space and two buttons. Set the space to stretch and the buttons will end up on the right side. And they will stay on the right side of you resize the basic frame.
Enjoy coding with wxWidgets,
Nunki
Re: What is this widget called ??
Nah its not that too , there is a dark grey line is you look closely and that can't be made with two panels. It could be made with another another line though...