[GSoC] Improved Color Selection - help needed

2014-07-18 Thread Krisztian Pinter
Hi All! I'm working on converting the palette popup window (*SvxColorWindow_Impl*, looks like this in my branch right now: http://i.imgur.com/4XAbRaH.png) to use the widget layout, and I kind of got it working. It places the widgets based on a .ui file, but a *ComboBox* makes LO crash at the

Re: [GSoC] Improved Color Selection - help needed

2014-07-18 Thread Krisztian Pinter
Hi All! I have realized that one problem is that in the old style I was calling the ctor of the *ComboBox* directly, and was able to set *WinBits* flags: *aPaletteComboBox( this, WinBits( WB_BORDER | WB_DROPDOWN | WB_AUTOSIZE) ),* However, now I use *VclBuilder::get*, and I can't do this. I

Re: [GSoC] Improved Color Selection - help needed

2014-07-18 Thread Krisztian Pinter
Hi All! For future reference, the problem was that *GtkComboBox* is converted to a *ListBox* and not to a *ComboBox* when *Has Entry* is turned off in the .ui file. All the best, Krisztian On 18 July 2014 16:17, Krisztian Pinter pin.termina...@gmail.com wrote: Hi All! I have realized that