Commit 25cba497 authored by Michael Catanzaro's avatar Michael Catanzaro
Browse files

Promotion type selector dialog should fit mobile screens

parent 8e01fb40
Pipeline #236331 passed with stages
in 5 minutes and 25 seconds
......@@ -355,6 +355,10 @@ Copyright © 2015–2016 Sahil Sareen""";
promotion_type_selector_dialog = (Dialog) promotion_type_selector_builder.get_object ("dialog_promotion_type_selector");
promotion_type_selector_dialog.transient_for = window;
var button_box = (ButtonBox) promotion_type_selector_builder.get_object ("button_box");
if (layout_mode == LayoutMode.NARROW)
button_box.orientation = Orientation.VERTICAL;
string color;
if (game.current_player.color == Color.WHITE)
color = "white";
......
  • Hi @exalm, you'll want this and 8e01fb40 (dependency of this commit) and also 0e8090dc in PureOS.

    I'll do a new 3.38 release soon, but these are too big to backport to upstream stable branches IMO.

  • I don't maintain chess in pureos, but opened an issue.

  • In gtk#3440 (closed) you mentioned that you don't like the second header bar, so I'll try to come up with something else. I fear an info bar won't work well. Not sure what a floating label would look like, but I guess I could try it....

    Edited by Michael Catanzaro
  • ed38dbe5 will help too.

  • In gtk#3440 (closed) you mentioned that you don't like the second header bar, so I'll try to come up with something else. I fear an info bar won't work well. Not sure what a floating label would look like, but I guess I could try it....

    The info bar looks pretty good. Pushed 39fb1c56.

  • Another follow-up in e6fd940f

Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment