mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-04 20:49:43 +00:00
Obvious fixed to the Unit Preview Pane. More reworking needed
This commit is contained in:
parent
7fb8d7dade
commit
9d3f3442b4
@ -116,8 +116,7 @@
|
||||
[column]
|
||||
vertical_grow = "true"
|
||||
horizontal_grow = "true"
|
||||
border = "top"
|
||||
border_size = 5
|
||||
|
||||
{GUI_FORCE_WIDGET_MINIMUM_SIZE 225 300 (
|
||||
[grid]
|
||||
[row]
|
||||
@ -135,8 +134,7 @@
|
||||
[/row]
|
||||
[row]
|
||||
grow_factor = 1
|
||||
vertical_grow = "true"
|
||||
horizontal_grow = "true"
|
||||
|
||||
[column]
|
||||
vertical_grow = "true"
|
||||
horizontal_grow = "true"
|
||||
@ -150,7 +148,7 @@
|
||||
[row]
|
||||
[column]
|
||||
[spacer]
|
||||
height = 9
|
||||
height = 10
|
||||
[/spacer]
|
||||
[/column]
|
||||
[/row]
|
||||
|
@ -146,7 +146,8 @@ void tunit_preview_pane::set_displayed_type(const unit_type& type)
|
||||
type.alignment(),
|
||||
type.genders().front()));
|
||||
}
|
||||
else if(label_details_) {
|
||||
|
||||
if(label_details_) {
|
||||
std::stringstream str;
|
||||
str << "<small>";
|
||||
|
||||
|
@ -51,8 +51,8 @@ public:
|
||||
, label_name_(nullptr)
|
||||
, label_level_(nullptr)
|
||||
, label_details_(nullptr)
|
||||
, tree_details_(nullptr)
|
||||
, label_details_minimal_(nullptr)
|
||||
, tree_details_(nullptr)
|
||||
, button_profile_(nullptr)
|
||||
, image_mods_()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user