mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-12 21:47:00 -04:00
Fix text on about window
This commit is contained in:
@@ -27,6 +27,10 @@ AboutWindow::AboutWindow(Window* parent)
|
|||||||
ok_button->Move(ws.GetWidth() - bs.GetWidth(), ws.GetHeight() - bs.GetHeight()); // align bottom right
|
ok_button->Move(ws.GetWidth() - bs.GetWidth(), ws.GetHeight() - bs.GetHeight()); // align bottom right
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool AboutWindow::Layout() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
void AboutWindow::onPaint(wxPaintEvent& ev) {
|
void AboutWindow::onPaint(wxPaintEvent& ev) {
|
||||||
wxBufferedPaintDC dc(this);
|
wxBufferedPaintDC dc(this);
|
||||||
draw(dc);
|
draw(dc);
|
||||||
|
|||||||
@@ -15,10 +15,14 @@
|
|||||||
|
|
||||||
/// Nice about dialog
|
/// Nice about dialog
|
||||||
class AboutWindow : public wxDialog {
|
class AboutWindow : public wxDialog {
|
||||||
public:
|
public:
|
||||||
AboutWindow(Window* parent);
|
AboutWindow(Window* parent);
|
||||||
|
|
||||||
private:
|
// Note: for some stupid reason, wxWindow::Layout makes the child of a window with a single child the same size as the whole window,
|
||||||
|
// we do not want that.
|
||||||
|
bool Layout() override;
|
||||||
|
|
||||||
|
private:
|
||||||
DECLARE_EVENT_TABLE();
|
DECLARE_EVENT_TABLE();
|
||||||
|
|
||||||
// MSE logos
|
// MSE logos
|
||||||
|
|||||||
Reference in New Issue
Block a user