wxWidgets GUI issue - windows

I just updated wxWidgets from 2.8.12 to 2.9.4. I built all the libraries like before and compiled by program. There are a couple of issues that I'm getting.
1) I get this after compilation:
2) When I click cancel, my GUI is greyed out like so:
The grey bar on the top and bottom are toolbars that usually have a blue gradient as the background on Windows. Also, the buttons have a dark stroked border as well.
Just wondering if anyone has come across this? One thing of note, I'm using MSVC and am using the debug libraries in vc_lib. Everything seems to work well on 2.8.12 if I revert back. I would really appreciate some feedback.
3) 2.8.12 screenshot (normal):

The assert indicates a problem in your code: you're using more than one mode when creating wxListCtrl. You simply need to fix this.
The rest of the problem is less clear, perhaps you should show how does the same UI look when built with wxWidgets 2.8.

Related

Why does the lower portion of the tabs is clipped on Mac?

I'm using QML TabView for an app on the Mac. The tabs are clipped a bit on their bottom edges - which makes for a "less than perfect" Mac OS X app look & feel.
Has anyone else seen this and is there a fix available? If not, can anyone point me in the right direction as to where I might be able to make a patch to the Qt sources to fix this?
Example pic showing how the tabs are truncated/clipped:
I can reproduce this with Qt 5.5 and El Capitan. I'm not sure what the fix would be, but you can look into the Desktop TabViewStyle:
http://code.qt.io/cgit/qt/qtquickcontrols.git/tree/src/controls/Styles/Desktop/TabViewStyle.qml
I can't reproduce this with Qt Widgets (the Desktop style uses widgets), so the fix is likely just a tweak in that file.
For information regarding how to contribute patches, see the Contribution Guidelines.

Xcode compiler flag to draw view edges

I'm working with Auto Layout in code and I am unsure where some edges are falling. I know there is a way to draw yellow lines for all view edges, but I can't find it.
Does anyone here know compiler flag/build environment variable that can be set to draw an outline for all views, or point me to a reference that contains this?
Run the app in Xcode, then go to menu Debug/View Debugging/Show View Frames. This setting doesn't appear to be sticky, so each time you run, you'll have to do it again.
You can also do similar with Quartz Debug under the tools menu. But it affects all apps, not just the one you are debugging. And Quartz Debug no longer ships as standard with XCode. Might be available for download if you don't already have it.
Since you were enquiring about the Xcode argument, here it is:
-UIViewShowAlignmentRects YES. Add this to your scheme's "Arguments Passed on Launch".
Beware that this seems to crash some apps on iOS 11 and Apple is aware of it.

Building a gui app using wxPython (menubars)

while creating a menubar and adding menu-items to it,my panel is showing blank...the menubar is not showing and am getting this message-
(python:4106): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that doesn't believe we're it's parent.
how do i resolve this problem???
I know I'm a bit late but...
Are you using Ubuntu 11/12? It's a bug in Ubuntu's GTK implementation from what I gathered
There are unofficial patches but they are for C++ Wx. I have the same problem as you and it is annoying
http://trac.wxwidgets.org/ticket/14292
For myself, the menu bar shows itself but the signals aren't sent to the status bar when going over it with the mouse.
I removed the "global menu bar" from Unity using the link on the ticket. It fixed the problem
We kind of need a sample app: http://wiki.wxpython.org/MakingSampleApps That will help us figure out the issue. However, menus are supposed to be children of the frame in almost all cases, so I suspect that is your problem. Attach it to the frame instead of the panel. See also http://www.blog.pythonlibrary.org/2008/07/02/wxpython-working-with-menus-toolbars-and-accelerators/ or http://zetcode.com/wxpython/menustoolbars/

Tooltips flicker on OSX

I'm creating a cross-platform GUI using JavaFX 2.0, and some of the controls that I use require tooltips to be displayed when the mouse hovers over them. I've got the tooltips displaying fine on my Windows 7 machine, but on OSX (10.7.3) the tooltips appear and then dissapear immediately, and the only way to get them to display again is to move the mouse off the control and then back on.
Is this a known issue with tooltips under OSX, or is there something special that needs to be done?
Many thanks,
Joseph.
Looks like a known issue RT-14798 "Mac: tooltips disappear right after they are displayed", which was fixed on January 26, 2012. Download the latest JavaFX OS-X early access release and, if you are still having an issue, reopen the bug. Signup is required to access the bug tracker, but anybody can signup and create or comment on bugs and issues.

VB6 Focus Glow Effects

I have a form in VB6 with text fields and I would like to create a focus glow like you see in modern web browsers.
Is it possible to make a Glowing Effect in a Textbox using VB6.0?
Kindly give me some advice or way to accomplish this one! Thanks...
I've noticed you are asking other questions regarding modification of the visuals of your VB6 application, too, but you have to face it: VB6 is old, very old and many of the newer UI concepts are very hard to implement in VB6.
Your best shot to make your old VB6 look better is to use a set of more current controls than the original VB6 ones. (Although better look controls are no magic bullet, it's still possible to screw up the UI by making bad layout decisions, for example)
At work we have made good experiences using CodeJock to polish our UI, but even the latest version (15.0.2 at this time) doesn't have a glow effect for text boxes.
You can enable the text box "glow" in Vista/7 by using a manifest. This manifest creator will handle some of the dirty work for you. Note that the effect will only appear in your compiled app, not running from within the IDE.

Resources