wxAuiToolBarItem FixedWidth

Это русская секция форума wxWidjets. В этой секции вы можете обсуждать любые вопросы, связанные с wxWidgets на вашем родном языке.
Post Reply
User avatar
cutecode
Super wx Problem Solver
Super wx Problem Solver
Posts: 425
Joined: Fri Dec 09, 2016 7:28 am
Contact:

wxAuiToolBarItem FixedWidth

Post by cutecode »

как сделать все элементы wxAuiToolBarItem в wxAuiToolBar одинаковой длины?
по умолчанию они все длиной в заголовок этого элемента
Attachments
Безымянный.png
Безымянный.png (2.79 KiB) Viewed 2640 times
wx 3.1.6 win/mac/linux

regards,
Alexander Saprykin
https://v2.dental-soft.ru
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7459
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: wxAuiToolBarItem FixedWidth

Post by ONEEYEMAN »

Dobrogo vremeni sutok,
Napisat sobstvennyj Layout-mehanizm. ;-)

A esli serezno - zachem? Razreshajuschaja sposobnost ekrana 1920x1024. Esli dopustim pervyj element ochen malenkij a ostalnye namnogo bolshe - pervyj element budet zanimat vse prostranstvo na ekrane
User avatar
cutecode
Super wx Problem Solver
Super wx Problem Solver
Posts: 425
Joined: Fri Dec 09, 2016 7:28 am
Contact:

Re: wxAuiToolBarItem FixedWidth

Post by cutecode »

я хочу сделать каждый элемент фиксированной длины, например 100 pixels
wx 3.1.6 win/mac/linux

regards,
Alexander Saprykin
https://v2.dental-soft.ru
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7459
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: wxAuiToolBarItem FixedWidth

Post by ONEEYEMAN »

I esli shirina elementa bolshe chem 100 pixelej?
Post Reply