User forums > Help
Build target window not resizing correctly.
oBFusCATed:
Hm, it seems that the list ctrl has not been expanded to width==200 pixels...
Probably I need to call something else, too and SetMinSize is not enough. Does anyone know what should be called?
MortenMacFly:
Did you forget Layout()?
oBFusCATed:
Probably, but I cannot test it, because it works even without calling Layout() (probably on this).
I need someone to test this on windows.
Also I need to know if we want to do this change, so I can finish this patch.
oBFusCATed:
Can someone post a screenshot from a windows machine with my patch and adding a Layout(); call after the lines
--- Code: --- lstTargets->SetMinSize(wxSize(width, 200));
DoTargetChange(false);"
--- End code ---
?
stahta01:
--- Quote from: oBFusCATed on July 05, 2014, 05:51:22 pm ---Can someone post a screenshot from a windows machine with my patch and adding a Layout(); call after the lines
--- Code: --- lstTargets->SetMinSize(wxSize(width, 200));
DoTargetChange(false);"
--- End code ---
?
--- End quote ---
I noticed no change; I am starting to think it is a wxWidgets 2.8 and Windows 7 32 bit bug.
I think this line is not working correctly on my PC using wxWidgets 2.8 and Windows 7 32 bit.
--- Code: ---lstTargets->SetColumnWidth(0, wxLIST_AUTOSIZE);
--- End code ---
It works different in wx3.0.0 build the Width is twice what is needed for max target.
I think we need a different tester to verify it is not a problem on my PC.
Tim S.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version