Icons on workflow toolbox are blurred - workflow-foundation-4

I'm re-hosting the designer in my own application. But I surprisingly found the icons in the toolbox are blurred. Screenshot is upload here.
It seems the toolbox is stretched, but the text is displayed correctly, only the icons are blurred. The screenshot was taken from one WF sample (WF_WCF_Samples\WF\Basic\DesignerRehosting\Basic\cs). The only change I made was making the toolbox list long enough, and assigning the same icon (16x16) to all the tools. You can find the sample codes here.
Any idea what's going wrong? Is there any workaround available?
Thanks so much!
Donald

Set UseLayoutRounding="True" on the Main Window. That fixes it.

Related

How to decrease Qt Creator upper left menu options text size?

As you can see in the images I provided, the upper left menu options text is huge. I don't know why this is, I think I updated Qt and then suddenly it looked like this the next time I ran it. I have tried to search for solutions for how to get regular size back but I find pretty much only things related to code font size. Does anyone know how I can get back the original, much smaller and easy-on-the eyes text size?
This is a bug in QtCreator 9.0.0. It will be fixed in version 9.0.1. which will hopefully come out soon. If you do not want to wait, you can download and install some snapshot of QtCreator 9.0.1. here https://download.qt.io/snapshots/qtcreator/9.0/9.0.1/ See also https://bugreports.qt.io/browse/QTCREATORBUG-28499 for some other workarounds.

How to resize icon to 48x48 from 1001 × 1506 in gimp?

apologize for this really basic question, but I can't find a correct way in resizing icons. I want to resize this image with 1001x1506 px (300 dpi) to 48x48 px (160 dpi) for my icon in android app. I'm using gimp as my editor and I'm not used to this photo editor(adobe is not an option).
I've tried to scale it from original-500-200-48 but the image is already pixelated and I really dont know how to prevent it from pixelating while reducing size.
I would really appreciate your inputs.
thank you.
UPDATE ANSWER:
After searching for awhile, I found this good tutorial. And I was able to resize my images from large size(ex. 1024x1002) down to different icon size(ex. 48x48,72x72). http://gimp-tutorials.net/How-to-make-an-icon-from-a-picture
And also this link also helped me the different sizes and dimensions for android icons. http://iconhandbook.co.uk/reference/chart/android/
Hope it will also help you guys.
In the menu, go to Image > Scale image... and try playing with the interpolation setting.
After searching for tutorials, if found this good tutorial. And I was able to resize my images from large size(ex. 1024x1002) down to different icon size(ex. 48x48,72x72). http://gimp-tutorials.net/How-to-make-an-icon-from-a-picture
And also this link also helped me the different sizes and dimensions for android icons.
http://iconhandbook.co.uk/reference/chart/android/
Hope it will also help you guys.

How to change QIcon color?

I am working on a custom control box (that min,max/restore/close button in the top right of your Windows titlebar) for my new application. I use closeIcon = style.standardIcon(QStyle.SP_TitleBarCloseButton) to get the correct icon for them. See the full code here in my other SO question. What I got is a black icon. In which I need the white version when it's in hover state.
Can we .. I don't know, inverse it? Or should I get another icon from QStyle?
This question (and several others) are from the intention of creating a chrome like tab in PyQt application, by hiding the titlebar and reimplementing control box. But it didn't gives the best result. Right now this is my solution to create a chrome like tab in PyQt application. Therefore, I close this question.

How to define number of images in Qt image's carousel?

Well, i saw a Qt Quick Image's Carousel Example in http://developer.qt.nokia.com/wiki/Qt_Quick_Carousel. I adapted for my specific situation and it worked!
Ok, but i'm with problems still. I want to show just 4 images each time, but i didn't see something about this. I'm reading also a QML documentation in http://doc.qt.nokia.com/4.7-snapshot/qml-tutorial.html...
Do someone know how can i to show just 4 images each time in the that example code?
pathItemCount property from PathView will help you.

Where can I find the icon set Github uses?

I'm talking about the icon set that Github uses for their own site design.
Example Page
On this page, near the top right corner, the "Watch" and "Fork" buttons, as well as the buttons next to them have beautiful icons!
Any idea where the full set can be found?
To clarify, I'm just looking for minimalist grey icons of that size and style to be used in web apps.
I am unsure if the icons Github utilizes are under creative commons. However, the icon packages below are used in other popular software packages that might be a fit for your project (e.g. you can always convert to grayscale and resize them using Gimp):
famfamfam icons
fugue icons
mini icons 2 (already grey for you)
They use wireframe mono icons. You can find them here.
http://www.iconfinder.com/search/4/?q=iconset:cc_mono_icon_set
FWIW, I think you can find them here... https://github.com/styleguide/css/7.0
The directories seem from famfamfam... But the other answer already told you that.

Resources