Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » [SOLVED]sizing problem when adding a Droplist to a Toolbar (the droplist appears a a few pixel control)
[SOLVED]sizing problem when adding a Droplist to a Toolbar [message #60760] Tue, 03 September 2024 11:00 Go to next message
rforcen is currently offline  rforcen
Messages: 2
Registered: August 2024
Location: spain
Junior Member
how to do i resize a droplist added to a toolbar to display it at a size it can be viewed correctly?

SOLVED: use
bar.Add(control, Size(w,h));

[Updated on: Thu, 05 September 2024 12:29]

Report message to a moderator

Re: sizing problem when adding a Droplist to a Toolbar [message #60762 is a reply to message #60760] Thu, 05 September 2024 08:14 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 3442
Registered: August 2008
Senior Veteran
Hi rforcen

If I remember well it resizes automatically to view all correctly.
Please indicate what is your operating system, desktop, etc, and include the source code of a simple sample with the problem.


Best regards
IƱaki
Re: [SOLVED]sizing problem when adding a Droplist to a Toolbar [message #60763 is a reply to message #60762] Thu, 05 September 2024 09:56 Go to previous message
rforcen is currently offline  rforcen
Messages: 2
Registered: August 2024
Location: spain
Junior Member
some controls as Label do, but Button, DropList, etc. don't,

I've solved the issue by just using the Size parameter,
bar. Add(control, Size(w,h));
Previous Topic: OK and Cancel Layout
Next Topic: custom output folder
Goto Forum:
  


Current Time: Fri Aug 01 23:22:28 CEST 2025

Total time taken to generate the page: 0.08701 seconds