QGIS 3 - how to change size of attribute window? - dialog

When adding a new feature to a shape file in QGIS 3.4.4. the attributes dialog opens only as a tiny window regardless of the length or number of the attribute columns in the list. I can manually adjust the size of the window but when I add the next features it is tiny again. That soon gets very annoying when many features need to be added.
Here an example screenshot:
Is this a bug or can I somewhere change the settings so that the window automatically opens at an appropriate size? I am running QGIS 3 on MacOs High Sierra 10.13.6.

This is a pretty old post but I was having the same issue so I figured I would post how I fixed it. It might have been patched in later releases because I saw there was a bug report submitted.
I'm Running QGIS 3.8 on mac.
open layer properties, navigate to attributes form (icon below source fields). On the top left drop down menu change "Autogenerate" to "drag and drop designer"
This resolved my problem and the attributes form is full size. I had to repeat the process for all shapefiles I was working on.
default settings
settings to make it work

Related

Tool bars are getting rearranged

I am using VC++ MFC and have the following toolbars in my software.
While working with different screens and software is minimized, if we disconnect the other screen, the toolbars get messed up after restoring the application.
Also that issue occurs, sometimes, when using single screen and change screen resolution or laptop lid is closed and re-open it, most of the cases when application is minimized at time we change anything.
We are not executing any code as such to draw the toolbars every time. While software is starting up, we read the toolbar positions from registry and create toolbars, and while closing application, we read the toolbar current position and save it back to registry.
Please suggest what should I do to fix this..
Thanks...
From the details what i can say is, while you were working on screen of one size the application considering the toolbar co-ordinates in relation to that screen. But when screen changes the old co-ordinates are no more valid as new screen may have different size and that's what causing the issue.

set window icon tkinter macosx

This line works fine for my Windows program.
When i run this same file on the Mac OS X, I get a blank page instead of my icon.
Here is the windows line:
self.iconbitmap("Boss.ico")
I have searched relentlusly for an answer I want this icon to work on both platforms. self is the root Tk window if your wondering if it's root or not.
Note: I have tried using icns, .xbm , .gif by loading a photo image and setting thru window attributes all produce the same blank page on the mac.
After 5 days of searching, and this post having been viewed at least 15 times I went directly to the tk/tcl documentation. If I understand this correctly, apparently there is no way to properly set the icon for mac OS X without using special library or other sort of hacks. It would be nice if there were a mac specific documentation for the tkinter library but alas there isn't that I have found. here is the part of the documentation I found:
wm iconphoto window ?-default? image1 ?image2 ...? Sets the titlebar
icon for window based on the named photo images. If -default is
specified, this is applied to all future created toplevels as well.
The data in the images is taken as a snapshot at the time of
invocation. If the images are later changed, this is not reflected to
the titlebar icons. Multiple images are accepted to allow different
images sizes (e.g., 16x16 and 32x32) to be provided. The window
manager may scale provided icons to an appropriate size. On Windows,
the images are packed into a Windows icon structure. This will
override an ico specified to wm iconbitmap, and vice versa.
On X, the images are arranged into the _NET_WM_ICON X property, which
most modern window managers support. A wm iconbitmap may exist
simultaneously. It is recommended to use not more than 2 icons,
placing the larger icon first.
On Macintosh, this currently does nothing.
if anyone has a working solution please post this. I want to accomplish this so that any system can open a freshly installed python and run my application without installing any additional library.
#GarryHurst This is not a solution but I sort of get the idea now:
On Mac, TK decided that the icon will never appear on the window title bar.
Instead, it shows up as the app's Dock icon.
It's most probably a by-design or won't fix issue on their side.
It is showing the icon of the file you are putting in the directory so setting the file to be an app will set the window icon to be the icon of that app.
for example:
root.iconbitmap("/Users/homedir./Desktop/Test apps/Clicker.app")
tk window with icon
I have a coup. Why not change mind, like this.
The emoji library is enough to choose a good-looking icon.
We can do that.:-D
Code
Effect

What causes control text to get cut off?

My VB6 application is having a layout problem on certain end user PCs, but so far we are unable to identify what is causing this.
Normal layout:
Broken layout:
The text on the left are the captions of the radio buttons. The text in the upper right is a label.
I am familiar with two different settings in Windows Control Panel which can affect text size, and initially we suspected this was the cause. In Windows 10, they are:
Control Panel >
Appearance and Personalization >
Display >
(1) "Use these display settings" > "Customize your display"
or
(2) "Set a custom scaling level"
(Terminology was different in earlier Windows versions but I think the features were the same?)
However upon testing these settings with our app neither reproduces the problem.
What else might be causing the text layout issue shown in the image?
This appears to be caused by a Windows bug.
The description & fix as mentioned in the source website are as follows:
if you have a high resolution screen at install time, Win7 will install a larger font set (125%) by default. If you then choose go back to the standard font size (100%), Windows will keep some of the large fonts even though everything else is adjusted for standard fonts, causing programs that use these fonts to break because the text will not always fit inside the GUI.
By editing the Windows registry you can get the original, intended fonts back:
Open the start menu and type regedit and then press Enter.
Locate the key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts
Find the value MS Sans Serif 8,10,12,14,18,24
Change from SSERIFF.FON to SSERIFE.FON
Find MS Serif 8,10,12,14,18,24
Change from SERIFF.FON to SERIFE.FON
Finally find Courier 10,12,15
Change from COURF.FON to COURE.FON
Restart your system in order for the changes to take effect!
The exact font names may vary depending on locale settings.
I was able to create the problem scenario as described here on Windows 10, and that reproduced the problem with our VB6 app. I think that confirms this as the fix.
A Microsoft blog post seems to be the authoritative original source of this information.

Visual Studio 2015 Layout: Error List and Output

Problem: Having read this article, the initial intention was to dock the tabbed Error List and Output Windows to the IDE status bar, but won't accommodate as it seems this method is not implemented in the IDE interface.
Alternatively try raising the bottom edge of the IDE and move the Error List and Output below the IDE Window. Almost perfect except it squinches the right-docked Solution and Property Windows a little.
Now tabbed and grouped documents can be resized if they aren't docked to the top frame, but then the group becomes another Window outside the IDE (Win 8.11).
Questions: Is there a way to raise the bottom borders of the IDE docked document group to fit the Error List and Output?
That way it's not necessary to keep switching Window configs or hiding Error List & Output as we wish for a clear view of all content in a web page or document.
Or, as there's idle real estate either to the right of the IDE menu items or adjacent to the Notifications/Feedback/Quick Launch/ area is it possible to place buttons binding Window layouts to Ctrl+Alt+{num}?
Also reviving a question for previous VS version as a corollary, is there some way to bring back the old SDI feel of VB where the white space in the IDE is replaced by the desktop or another underlying window?
Helpful answers appreciated as always.

Cannot resize Glimpse window

I have just installed Glimpse.MV5 and EF6 and all the plug-ins seem to working fine, however there is a problems with the UI and I cannot resize the Glimpse window (and it is very small by default). Also if I open it up in a separate window it only takes up a fraction of the window and finally I cannot re-size the panels in the Timeline tab.
Any ideas?
Here is a screenshot of the pop-up window.
Cheers Mike
You are reporting two different issues.
One is you cannot resize the Glimpse panel. By default it is 300px. I just submitted an issue to Glimpse that if the page loads with the Glimpse panel minimized, it cannot be resized. The workaround is to expand the Glimpse panel, then reload the page. Then you can resize the panel using the mouse.
Here is the issue I submitted: https://github.com/Glimpse/Glimpse/issues/742
The second issue is the panel contents are not filling the entire size of the panel. This bug was submitted and marked as fix a while ago. See the issue report here: https://github.com/Glimpse/Glimpse/issues/326
UPDATE
The Glimpse team has committed a fix for not being able to resize the panel. The fix is here: https://github.com/Glimpse/Glimpse/commit/3677494af54e59f29eb1b4539773e1d5ded1c1c5
UPDATE
The fix was released in version 1.8.4 on March 11, 2014. Details here: https://github.com/Glimpse/Glimpse/issues?milestone=23&state=closed

Resources