#1 2014-05-21 01:17

Andrew
Senior Member
Registered: 2008-05-22
Posts: 542

Missing selection rectangles for UI elements

I've already pointed out one such instance in the Analyze dialog here. There are a couple more:

Add_Rule_Selection_Rectangle_1.png

Add_Rule_Selection_Rectangle_2.png

Offline

#2 2014-05-21 17:07

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,479

Re: Missing selection rectangles for UI elements

Those checkboxes which don't have the selection rectangle are all children of a panel. Panel is a component that can encapsulate other components, for various reasons. It looks like a rendering bug or some incompatibility with theming support.

The only true fix for this is to upgrade/migrate to a newer component library (newer development environment). Not ready to do that yet.

Offline

#3 2014-05-27 01:47

Andrew
Senior Member
Registered: 2008-05-22
Posts: 542

Re: Missing selection rectangles for UI elements

Denis, what happens if you increase the size of the panel (i.e. the inset border around all those checkboxes in the second image)? Does that provide sufficient space for the dotted selection rectangle to be displayed?

As for the first image, I don't understand how the set of 3 radio buttons for the Serialize rule is different from all the similar sets elsewhere in the app? For example check out the Delete rule where the UI looks just fine:

Selection_Rectangle.png

Why the difference I wonder?

Last edited by Andrew (2014-05-27 01:49)

Offline

#4 2014-06-04 15:20

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,479

Re: Missing selection rectangles for UI elements

Panel is a component which allows grouping of other (sub)components. Panel is normally invisible unless the border or the background color is changed, that is why you can't see that some check boxes and radio buttons are located on such panels. The reason why it was used is to separate different sets of check boxes and radio buttons, for better control switching with TAB and arrow keys.

Panel component unfortunately has a bug which prevents rendering of selection rectangle for check boxes and radio buttons.

In the long run, upgrading to the newer development environment will fix this problem. In the meantime, I will eliminate the use of Panel components or replace it with GroupBox where suitable.

Offline

#5 2014-06-12 17:48

Andrew
Senior Member
Registered: 2008-05-22
Posts: 542

Re: Missing selection rectangles for UI elements

Thanks for the explanation, Denis. Looking forward to what the brand new dev environment will bring. smile

Offline

Board footer

Powered by FluxBB