Ethereal-dev: RE: [Ethereal-dev] Save As dialog height doesn't fit in 800x600 r esolution (fro
Ethereal development <ethereal-dev@xxxxxxxxxxxx> schrieb am 23.02.04 10:59:56:
>
> |From: Ulf Lamping
> |
> |Olivier Biot schrieb am 23.02.04 09:56:14:
> |>
> |> Hi list,
> |>
> |> It looks like the Save As dialog doesn't fit anymore in
> |> a 800x600 resolution.
> |>
> |> I am not a GUI programmer, but is it feasible to use 2
> |> canvases in such a situation, and decide to draw the
> |> canvases side-by-side instead of vertically stacked
> |> if the height resolution doesn't allow to
> |> see the latter layout?
> |
> |That's sad!
> |
> |The problem is: The GtkFileSelector we use has a fixed
> |layout on this and can't be changed.
>
> Do you mean the entire File Save dialog is a monolithic widget
> in GTK+ terms?
Exactly!
>
> |We cannot easily change the layout of the whole box,
> |as we only have a single point to add our own Widget(s).
>
> You mean that it is not possible to add the GtkFileSelector
> in one canvas and then add the other widgets in another canvas,
> and then decide to display both side-by-side if the vertical
> resolution doesn't allow displaying the dialog if/when both
> canvases are displayed the one on top of the other?
The GtkFileSelector is a dialog, not a widget.
That's unfortunately different from the other predefined widgets (like the color selector).
>
> |I don't see a good and easy solution to this.
> |
> |One solution could be to put the "Packet Range" into it's own
> |dialog, and print only a summary line in the save dialog "Save
> |all captured packets" and a button "Range" to call the packet
> |range dialog to change the setting.
>
> So you mean we cannot add the Packet Range in a dedicated canvas
> because the GtkFileSelector only allows us to add widgets in one
> specific place/point?
Yes!
>
> And we cannot "dock" the GtkFileSelector widget within a dialog,
> along with other widgets?
Exactly!
>
> |This will require some more work on this, and will make the
> |dialog even less intuitive :-(
>
> I agree with you, but I'd not say 'even less',
> but just 'less' :)
>
Regards, ULFL
______________________________________________________________________________
Extra-Konto: 2,50 %* Zinsen p. a. ab dem ersten Euro! Nur hier mit 25
Euro-Tankgutschein & ExtraPrämie! https://extrakonto.web.de/?mc=021110