How to align the icons in one line - row

enter image description here
How to get the icons to all line up in a single row I'd prefer to see all four icons at once rather than two sets of two. It needs to adapt to various mobile devices?
Website https://www.logan.clarksfield.com

Related

How to take a screenshot of a particular QWidget in a tab in QT and post it in another tab?

I have a tab that is to display data that is to be prepared for a report. Kind of like a preview. What I want is to take a screenshot of graph generated in another tab.
Kind of similar to scanning an image. So the initial tab generates 3 graphs under each other that fit in the screen. I basically want the screen shots of the graphs to post them along with the data in the second tab.
The second image is where I want the content of the first image to be posted. How do I go on about that?

QProgressbar with 2 Labels with differend alignment

When a Client connects to my application a new QProgressbar will show and display his set name and display some more information. This works fine. But based on the length of the name it doesn't look perfect if multiple people connect. And it is getting harder to read.
What i want is two labels. One For the name which is left aligned and one on the right side for the other information with right alignment
So is there a way to display two different labels on top of the progressbar and have one aligned to the left and one to the right?
Such behaviour is not provided by standard Progress Bar, you must subclass and implement your behaviour yourself.

silverlight datagrid styling - mystery line atop first row

Trying to get rid of the line that appears on top of the first row of data. I've changed about everything I can see in the DataGridStyle, DataGridHeaderStyle and DataGridRowStyle templates. I've changed colors of various elements in case the color used to draw that line was borrowed from other grid attributes (like SeparaterBrush e.g.). Still it remains. Any ideas?
I don't have enough rep points to post images, but here is a link to photobucket...
http://i810.photobucket.com/albums/zz23/kpgraci/grid_zps5353246d.jpg
In the DataGrid style template there is a rectangle named 'ColumnHeadersAndRowsSeparator'. This is responsible for the thin gray line below the column header and above the first row. Note that even is HeadersVisibility='None' this line still displays.
Changing this rectangle's Fill from #FFC9CACA to Transparent in the DataGrid template removes the line.

2 actionbar tabs don't fill a screen width on FULLHD (xxhdpi) Android device

I have required styles (from designer) applied on my TABs used in Actionbar for navigation and I use Actionbar Sherlock. They look perfectly from ldpi to xhdpi devices, but situation changes on xxhdpi devices.
I have only 2tabs and except mentioned styling, I have the same code as Sherlock DEMO app in "Tab Navigation". I found 2 older simmilar questions not answered yet.
Stacked ActionBar tab bar not filling parent
(I've got a simmilar problem, centered tabs. Sorry for inconvenience, I can't attach images because of rep points.)
and
action bar tabs not fill screen in android
Since the time of their posts, this is not only the issue of tablets, but now, there are many FULLHD (flagship) smartphones and this is becomming the big "design" issue.
I want my 2tabs to fill/match the full width of ANY device size, so in my case to fill 50% width each. Default Holo styled tabs doesn't look that bad (as shown in previous link), but my styled tabs on this big screen look much worse.
PS: Situation doesn't change if I make a text in tabs bigger or longer. Tabs don't adujst their width, instead they change their height and text takes 2 lines.
Unfortunatelly, this is a another JB changes:
https://android.googlesource.com/platform/frameworks/base/+/b8139af3dcae80c0030afd0354dc424a7c72c3d9
One of solution: set target SDK 15 or lower.

Icon with different resolution in MSVC2010

ALL,
I am making an application where I need to use an icon.
I have 2 icon files: myicon-16.ico and myicon-32.ico. First has resolution 16x16 and second - 32x32.
Now when I opened MSVC 2010 project (C++) I see that the default icon file has 2 icons combined, i.e. it has a resource for 16x16 and 32x32 in one file. What I mean is when I open the resource file in Visual Studio solution and click on the standard icon I see many different resolution for the icon. And I can select each and the bitmap (icon) will be displayed with an appropriate resolution. But when I open the rc file in the text editor I see only 2 lines: one with my own icon and one with the standard icon "IDI_SMALL".
What I need to do to make the same thing with my 2 files? What I want is when I open resource file in VS and click on my icon resource I want to see 2 icons with 16x16 and 32x32 resolutions. AFAIU, I can only place an additional icon resource in the rc file. Or I am wrong?
Please advise.
You can use VS2010 to add additional image types in your ico file. Just open an ico file with VS2010. Say, open myicon-16.ico. You will see just one icon there - 16x16. Now open menu Image->New Image Type (or use right click->New Image Type, or use keyboard shortcut Ins). You will be presented with a choice ranging from 16x16 1 bit to 128x128 24 bit. Just insert as many as you like.
For your case you need to insert an empty 32x32 into myicon-16.ico, then copy and paste from your 32-pixel file.
On the side note. Who draws the icons nowadays. Just google free icons, and you will find tons of icon libraries on the Internet with sizes from 16x16 to 256x256 png.
Yes, you need to combine your images into one ICO file that has all the data.
From Wikipedia:
ICO files contain one or more small images at multiple sizes and color
depths, such that they may be scaled appropriately.
There are many image editors that can do this, personally I've used GIMP to create multi-layered png files, and then save as .ico to get the final result.
You also should be able to right click in the list of image sizes in VS2010 and then click "New Image Type" to add different resolutions within the built in ICO editor. You can then copy and paste your image data from another editor into Visual Studio.