TChart doesn't render on form creation if TeeOpenGL.Active is true - delphi-xe2

if I set TeeOpenGL.Active to true in FormCreate, then TChart appears as white blank square. What can be a problem?

I'm afraid this is a bug. I have added it (TV52016245) to the defect list to be fixed for next releases.

Related

UIBarButton button image stretched width

Problem
After upgrading to XCode 9 and migrating my code to Swift 4, I've come across a few problems that I wasn't expecting. One of them is that the navigation bar in my app contains a button in the top left bar button item slot with an image, and now the image (and button) is stretched halfway across the screen for all view controllers (some have autolayout and some don't). Before XCode 9, it was working perfectly fine, and this problem only popped up after I updated XCode.
What I've tried
From this old SO post someone posted a recent answer that seems to suggest my problem stems from the different sizes for images in Assets.xcassets, but I don't understand why that would be a problem. I tried duplicating the image for the button and renaming it with "#2x" at the end (not sure what difference that makes...) and dragging it into the 2x slot in Assets.xcassets, and that somehow made the button slightly less stretched (about a third of the screen instead of about half). Overall, I'm just confused at why I have this problem, and would appreciate a solution that can fix my problem and explain why it worked before, but now doesn't.
Thanks in advance.
You have to set image view for bar button like this :
imageView is your bar button ImageView.
let widthConstraint = imageView.widthAnchor.constraint(equalToConstant: 32)
let heightConstraint = imageView.heightAnchor.constraint(equalToConstant: 32)
heightConstraint.isActive = true
widthConstraint.isActive = true
Hi RPatel99,
I faced the same issue. But I found a solution, set the image of your button to this sizes:
- image#1x: 22x22px
- image#2x: 44x44px
- image#3x: 66x66px
Unfortunately, I can't post photos because of my reputation.
Note: I try many different ways like change the frame of my button image but it doesn't work. If someone have an other solution, tell me, I'm interested.

How to fix SSRS Tablix column width?

I'm creating a report for MS Dynamics AX using SSRS. So far everything is working well, but this time i'm making a report consisting of many tablixes. Row height is fixed and there seem to be no issues from a horizontal perspective. Vertically however there is problem because columns are resizing randomly and my tablixes dont appear uniform. Everything appears perfect in design view but not in the output. Columns resize at run time. I have set the canGrow properties to false and resized all the columns manually but to no effect.
I've attached screenshots of my design and a small part of the preview/output.
Design
Preview
Has anybody faced such an issue? Were they able to solve it?
I had a similar issue where I needed the cell to be 3.5 in, regardless of the data within it. The fix wound up being to set the padding in the blank cell to that width.

KendoUI Combobox responsivenes

I am working with the Kendo UI beta (v. 2013.1.226) and I found that there are some glitches when you change the font size of a combobox.
The drpodown arrow doesn't seem right - it is a bit up while it shouold perfectly position itself in the center of the dropdown button.
To illistrate - I am attaching a screenshot.
Anyone know if there's a way to fix this?
I am thinking of somehow change the x and y position of the background to be relative.
Any help will be appreciated.
Update: Not quite sure if it's only me but found another problem changing the font size, the list seems to overlap the input field as shown in the second image:
I am using IE 9. Anyone have those problems or is it just me?
As far as I know Kendo shouldn't be interfering with other styles on the page (the styles start with k- prefix) so I am wondering if the issues only occur for me or are common.
The KendoUI Combobox is made up of multiple components and has its own styling for all the parts including the arrow. The arrow is actually two nested spans in the version I am using (2013.1.514).
I changed my textbox heights and got different alignment problems:
I would not expect the supplied KendoUI CSS to survive a font-size change as they are tweaked to look good at its own default font size. Your best bet is to use Chrome's F12 tools to determine what CSS styles are affected and tweak the Kendo styles (or your overrides) to match your requirements.

Jqplot theme disappears the x axis labels

When using a theme in jqPlot the x axis labels are disappeared. The colors are also added to the series and y axis tick label font size can also be set. Am I doing something wrong?
I have the same issue. When I switch theme (or even switch back to default) if I'm using
renderer: $.jqplot.CategoryAxisRenderer
the x-axis texts are no longer drawn.
if I use
$.jqplot.DateAxisRenderer
however they are drawn.
I've even tried specifying the renderer as part of the theme but this seems to be ignored (probably intentionally)
I'm working on this issue right now (jqPlot v. 1.0.8) and I think I found the source of the problem. When going through the redraw process called at the end of ThemEngine activateTheme() function, in CategoryAxisRenderer's createTicks() the 'showLabel' property is set by default to false and fails to switch to true for ticks with labels.
Fast fix that worked for me: in plugin: jqplot.categoryAxisRenderer.js
comment
t.showLabel = false; #line 149
and uncomment
t.showLabel = true; #line 155
After those changes everything works as intended both with default and user created theme. I have to stress out again that this is just a quick fix and not the final solution which I'll post here asap.
I tried to just set the option.seriesColors directly which worked for me. This means the theme only exists as something in my helper functions that create graphs but it is ok for me.

Weird margin alterations in IE8 Compatibility mode (IE7)

i'm suffering some odd changes in margin when viewing my page in IE8 compatibility mode (ie7). Specifically in 2 areas. The Primary navigation and the footer.
As you can see the navigation is experiencing a much larger margin from the left then what is seen in IE8/FF/Chrome/Safari
http://demo.carbonium.no/iebug1.png
Below the advertising there is supposed to be space. This problem persists in all IE browsers but not in FF/Chrome/Safari
Here is a link to the actual site
Alright, i found a work around to the problem i was having with the navigation. Using absolute positioning and Z-index:1; to take the element out of the natural document flow solved the problem. Also it would seam that replacing margins with padding can to some degree give you the same result. Either way i am still confused as to why IE7 causes this particular issue.

Resources